* AtkKeySnoopFunc:
* @event: an AtkKeyEventStruct containing information about the key event for which
* notification is being given.
- * @func_data: a block of data which will be passed to the event listener, on notification.
+ * @user_data: a block of data which will be passed to the event listener, on notification.
*
* An #AtkKeySnoopFunc is a type of callback which is called whenever a key event occurs,
* if registered via atk_add_key_event_listener. It allows for pre-emptive
* see atk_add_key_event_listener.
**/
typedef gint (*AtkKeySnoopFunc) (AtkKeyEventStruct *event,
- gpointer func_data);
+ gpointer user_data);
/**
* AtkKeyEventStruct:
GObject parent;
};
+/**
+ * AtkUtilClass:
+ * @add_global_event_listener: adds the specified function to the list
+ * of functions to be called when an ATK event occurs. ATK
+ * implementors are discouraged from reimplementing this method.
+ * @remove_global_event_listener: removes the specified function to
+ * the list of functions to be called when an ATK event occurs. ATK
+ * implementors are discouraged from reimplementing this method.
+ * @add_key_event_listener: adds the specified function to the list of
+ * functions to be called when a key event occurs.
+ * @remove_key_event_listener: remove the specified function to the
+ * list of functions to be called when a key event occurs.
+ * @get_root: gets the root accessible container for the current
+ * application.
+ * @get_toolkit_name: gets name string for the GUI toolkit
+ * implementing ATK for this application.
+ * @get_toolkit_version: gets version string for the GUI toolkit
+ * implementing ATK for this application.
+ *
+ */
struct _AtkUtilClass
{
GObjectClass parent;
ATK_XY_WINDOW
}AtkCoordType;
-/*
- * Adds the specified function to the list of functions to be called
- * when an object receives focus.
- */
+G_DEPRECATED
guint atk_add_focus_tracker (AtkEventListener focus_tracker);
-
-/*
- * Removes the specified focus tracker from the list of function
- * to be called when any object receives focus
- */
+G_DEPRECATED
void atk_remove_focus_tracker (guint tracker_id);
-
-/*
- * atk_focus_tracker_init:
- * @init: An #AtkEventListenerInit function to be called
- * prior to any focus-tracking requests.
- *
- * Specifies the function to be called for focus tracker initialization.
- * removal. This function should be called by an implementation of the
- * ATK interface if any specific work needs to be done to enable
- * focus tracking.
- */
+G_DEPRECATED
void atk_focus_tracker_init (AtkEventListenerInit init);
-
-/*
- * Cause the focus tracker functions which have been specified to be
- * executed for the object.
- */
+G_DEPRECATED
void atk_focus_tracker_notify (AtkObject *object);
-
-/*
- * Adds the specified function to the list of functions to be called
- * when an event of type event_type occurs.
- */
guint atk_add_global_event_listener (GSignalEmissionHook listener,
const gchar *event_type);
-
-/*
- * Removes the specified event listener
- */
void atk_remove_global_event_listener (guint listener_id);
-
-/*
- * Adds the specified function to the list of functions to be called
- * when an keyboard event occurs.
- */
guint atk_add_key_event_listener (AtkKeySnoopFunc listener, gpointer data);
-
-/*
- * Removes the specified event listener
- */
void atk_remove_key_event_listener (guint listener_id);
-/*
- * Returns the root accessible container for the current application.
- */
AtkObject* atk_get_root(void);
-
AtkObject* atk_get_focus_object (void);
-/*
- * Returns name string for the GUI toolkit.
- */
const gchar *atk_get_toolkit_name (void);
-
-/*
- * Returns version string for the GUI toolkit.
- */
const gchar *atk_get_toolkit_version (void);
-
-/*
- * Gets the current version of ATK
- */
const gchar *atk_get_version (void);
/* --- GType boilerplate --- */