Util
Object Hierarchy:
Atk.Util
Atk.Util
Atk.Util
GLib.Object
GLib.Object
GLib.Object->Atk.Util
Description:
[ CCode ( type_id = "atk_util_get_type ()" ) ]public class Util : Object
A set of ATK utility functions which are used to support event registration of various types, and obtaining the 'root' accessible of a
process and information about the current ATK implementation and toolkit version.
Content:
Static methods:
public static uint add_focus_tracker (EventListener focus_tracker)
Adds the specified function to the list of functions to be called when
an object receives focus.
public static uint add_global_event_listener (SignalEmissionHook listener, string event_type)
Adds the specified function to the list of functions to be called when
an ATK event of type event_type occurs.
public static uint add_key_event_listener (KeySnoopFunc listener)
Adds the specified function to the list of functions to be called when
a key event occurs.
public static void focus_tracker_init (EventListenerInit init)
Specifies the function to be called for focus tracker initialization.
public static void focus_tracker_notify (Object object)
Cause the focus tracker functions which have been specified to be
executed for the object.
public static unowned Object get_focus_object ()
Gets the currently focused object.
public static unowned Object get_root ()
Gets the root accessible container for the current application.
public static unowned string get_toolkit_name ()
Gets name string for the GUI toolkit implementing ATK for this
application.
public static unowned string get_toolkit_version ()
Gets version string for the GUI toolkit implementing ATK for this
application.
public static unowned string get_version ()
Gets the current version for ATK.
public static void remove_focus_tracker (uint tracker_id)
Removes the specified focus tracker from the list of functions to be
called when any object receives focus.
public static void remove_global_event_listener (uint listener_id)
public static void remove_key_event_listener (uint listener_id)
Creation methods:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref