register_no_data


Description:

public static bool register_no_data (owned EventListenerSimpleCB callback, string event_type) throws Error

Registers an AtspiEventListenetSimpleCB.

The method is similar to register, but callback takes no user_data.

Parameters:

callback

the EventListenerSimpleCB to be registered against an event type.

event_type

a character string indicating the type of events for which notification is requested. Format is EventClass:major_type:minor_type:detail where all subfields other than EventClass are optional. EventClasses include "object", "window", "mouse", and toolkit events (e.g. "Gtk", "AWT"). Examples: "focus:", "Gtk:GtkWidget:button_press_event".

callback_destroyed

A DestroyNotify called when the callback is destroyed.

Returns:

TRUE if successfull, otherwise FALSE.