and [atk.component.Component.removeFocusHandler]. See those methods for more information.
atk.types
D types for atk1 library
Types 23
A function which is called when an object emits a matching event, as used in #atk_add_focus_tracker. Currently the only events for which object-specific handlers are supported are events of type "focus:". Most clients of ATK will prefer to attach signal handlers for the various ATK signals instead.
see idatk_add_focus_tracker
Parameters
obj | An #AtkObject instance for whom the callback will be called when the specified event (e.g. 'focus:') takes place. |
An #AtkEventListenerInit function is a special function that is called in order to initialize the per-object event registration system used by #AtkEventListener, if any preparation is required.
see idatk_focus_tracker_init
The type of callback function used for [atk.component.Component.addFocusHandler] and [atk.component.Component.removeFocusHandler]
Parameters
object | the #AtkObject that receives/lose the focus |
focusIn | TRUE if the object receives the focus |
Deprecated
An AtkFunction is a function definition used for padding which has been added to class and interface structures to allow for expansion in the future.
Returns
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 interception of key events via the return code as described below.
Parameters
event | an AtkKeyEventStruct containing information about the key event for which notification is being given. |
Returns
discarded without being passed to the normal GUI recipient; FALSE (zero) if the event dispatch to the client application should proceed as normal.
see idatk_add_key_event_listener
An AtkPropertyChangeHandler is a function which is executed when an AtkObject's property changes value. It is specified in a call to [atk.object.ObjectWrap.connectPropertyChangeHandler].
Parameters
obj | atkobject which property changes |
vals | values changed |
Deprecated
Variables 6
BINARY_AGE = 25210Like [atk.global.getBinaryAge], but from the headers used at application compile time, rather than from the library linked against at application run time.
INTERFACE_AGE = 1Like [atk.global.getInterfaceAge], but from the headers used at application compile time, rather than from the library linked against at application run time.
MAJOR_VERSION = 2Like [atk.global.getMajorVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.
MICRO_VERSION = 0Like [atk.global.getMicroVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.
MINOR_VERSION = 52Like [atk.global.getMinorVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.
VERSION_MIN_REQUIRED = 2A macro that should be defined by the user prior to including the atk/atk.h header. The definition should be one of the predefined ATK version macros: ATK_VERSION_2_12, ATK_VERSION_2_14,...
This macro defines the earliest version of ATK that the package is required to be able to compile against.
If the compiler is configured to warn about the use of deprecated functions, then using functions that were deprecated in version [atk.types.VERSION_MIN_REQUIRED] or earlier will cause warnings (but using functions deprecated in later releases will not).