Module Notify
In: rnotify.c
lib/RNotify.rb

libnotify ruby interface [ www.galago-project.org ]

Methods

app_name   init   init?   server_caps   server_info   uninit  

Classes and Modules

Class Notify::Notification

Constants

BINDINGS_VERSION = "0.3.3"

Public Class methods

Returns the application name passed to Notify.init

name = application name

Initialize libnotify. This must be called before any other functions

Returns TRUE if the library initialized properly, or FALSE

Returns TRUE if libnotify is inizialized, or FALSE

Queries the server for its capabilities and returns them in an Array

Queries the server for its information( name, vendor, server version, notification version )

Returns FALSE if there were errors, an Array otherwise

example:

     array = Notify.server_info
     p array[0]      #print the product name of the server
     p array[1]      #print the vendor
     p array[2]      #print the server version
     p array[3]      #print the specification version supported

Deinitialize libnotify, you must to call this before quit the program

[Validate]