Gjsify LogoGjsify Logo

Index

Variables

EXPIRES_DEFAULT: number

The default expiration time on a notification.

EXPIRES_NEVER: number

The notification never expires. It stays open until closed by the calling API or the user.

VERSION_MAJOR: number
VERSION_MICRO: number
VERSION_MINOR: number

Functions

  • get_app_name(): string
  • get_server_caps(): string[]
  • get_server_info(): [boolean, string, string, string, string]
  • Synchronously queries the server for its information, specifically, the name, vendor, server version, and the version of the notifications specification that it is compliant with.

    Returns [boolean, string, string, string, string]

  • init(app_name: string): boolean
  • Initialized libnotify. This must be called before any other functions.

    Parameters

    • app_name: string

      The name of the application initializing libnotify.

    Returns boolean

  • is_initted(): boolean
  • set_app_name(app_name: string): void
  • uninit(): void
  • Uninitialized libnotify.

    This should be called when the program no longer needs libnotify for the rest of its lifecycle, typically just before exitting.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method