Method

AtspiEventListenerregister_with_app

Declaration [src]

gboolean
atspi_event_listener_register_with_app (
  AtspiEventListener* listener,
  const gchar* event_type,
  GArray* properties,
  AtspiAccessible* app,
  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.

 The argument can be NULL.
 The data is owned by the caller of the function.
 Each element is a NUL terminated UTF-8 string.
app AtspiAccessible
 

The application whose events should be reported, or %null for all applications.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if successful, otherwise FALSE.