AtkUtil {RGtk2} | R Documentation |
A set of ATK utility functions for event and toolkit support.
atkAddFocusTracker(focus.tracker)
atkRemoveFocusTracker(tracker.id)
atkFocusTrackerInit(add.function)
atkFocusTrackerNotify(object)
atkAddGlobalEventListener(listener, event.type)
atkRemoveGlobalEventListener(listener.id)
atkAddKeyEventListener(listener, data)
atkRemoveKeyEventListener(listener.id)
atkGetRoot()
atkGetFocusObject()
atkGetToolkitName()
atkGetToolkitVersion()
GObject +----AtkUtil
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.
AtkUtil
AtkKeyEventStruct
AtkKeyEventStruct
is a transparent-type.
type
state
GdkEventKey
keyval
length
string
.string
keycode
timestamp
AtkCoordType
atkComponentGetPosition
and atkTextGetCharacterExtents
screen
window
AtkKeyEventType
press
release
last-defined
AtkEventListener(obj)
atkAddFocusTracker
.
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
: atk_add_focus_tracker.
obj
AtkObject
] An AtkObject
instance for whom the callback will be called when
the specified event (e.g. 'focus:') takes place.
AtkEventListenerInit()
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
: atk_focus_tracker_init.
AtkKeySnoopFunc(event, func.data)
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.
event
AtkKeyEventStruct
] an AtkKeyEventStruct containing information about the key event for which
notification is being given.func.data
Returns: [integer] TRUE (nonzero) if the event emission should be stopped and the event discarded without being passed to the normal GUI recipient; FALSE (zero) if the event dispatch to the client application should proceed as normal.
see
: atk_add_key_event_listener.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/atk/AtkUtil.html