AtkUtil {RGtk2}R Documentation

AtkUtil

Description

This is a utility class which supports the adding and removal of event listeners.

Methods and Functions

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()

Hierarchy

  GObject
   +----AtkUtil

Detailed Description

This is a utility class which supports the adding and removal of event listeners. The adding and removing of the listeners must be done in the same thread. The file also contains a number of utility functions.

Structures

AtkUtil
The AtkObject structure should not be accessed directly.

AtkKeyEventStruct
The AtkKeyEventStruct describes a keyboard event.

type
[integer]
state
[numeric]
keyval
[numeric]
length
[integer]
string
[character]
keycode
[integer]
timestamp
[numeric]

Enums and Flags

AtkCoordType
Specifies how xy coordinates are to be interpreted. Used by functions such as atkComponentGetPosition and atkTextGetCharacterExtents

screen
specifies xy coordinates relative to the screen
window
specifies xy coordinates relative to the widget's top-level window

AtkKeyEventType
Specifies the type of a keyboard evemt.

press
specifies a key press event
release
specifies a key release event
last-defined
Not a valid value; specifies end of enumeration

User Functions

AtkEventListener(Param1)
An AtkEventListener is user specified function which is called when an event, such as receiving focus, occurs. The parameter of the AtkEventListener is the AtkObject on which the event occurred.

Param1
[AtkObject]

AtkEventListenerInit()
An AtkEventListenerInit is an initialization function in an implementation of the ATK interface used to perform implementation-specific initialization when enabling focus tracking.

AtkKeySnoopFunc(event, func.data)
An AtkKeySnoopFunc is a function which is called when a keyboard event occurs.

event
[AtkKeyEventStruct]
func.data
[R object]

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/atk/AtkUtil.html


[Package RGtk2 version 2.8.6 Index]