Method

AtspiEventListenerregister_full

Declaration [src]

gboolean
atspi_event_listener_register_full (
  AtspiEventListener* listener,
  const gchar* event_type,
  GArray* properties,
  GError** error
)

Description [src]

Adds an in-process callback function to an existing AtspiEventListener.

Parameters

event_type const gchar*
 

A character string indicating the type of events for which notification is requested. See #atspi_event_listener_register for a description of the format and legal event types.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
properties An array of utf8
 

A list of properties that should be sent along with the event. The properties are valued for the duration of the event callback. TODO: Document.

 The argument can be NULL.
 The data is owned by the caller of the function.
 Each element is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if successful, otherwise FALSE.