Next: , Previous: AtkText, Up: Top


24 AtkUtil

A set of ATK utility functions for event and toolkit support.

24.1 Overview

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.

24.2 Usage

— Class: <atk-util>

Derives from <gobject>.

This class defines no direct slots.

— Function: atk-remove-focus-tracker (tracker_id unsigned-int)

Removes the specified focus tracker from the list of functions to be called when any object receives focus.

tracker-id
the id of the focus tracker to remove
— Function: atk-focus-tracker-notify (object <atk-object>)

Cause the focus tracker functions which have been specified to be executed for the object.

object
an <atk-object>
— Function: atk-remove-global-event-listener (listener_id unsigned-int)

Removes the specified event listener

listener-id
the id of the event listener to remove
— Function: atk-remove-key-event-listener (listener_id unsigned-int)

Removes the specified event listener

listener-id
the id of the event listener to remove
— Function: atk-get-root ⇒  (ret <atk-object>)

Gets the root accessible container for the current application.

ret
the root accessible container for the current application
— Function: atk-get-focus-object ⇒  (ret <atk-object>)

Gets the currently focused object.

Returns:

ret
the currently focused object for the current application

Since ATK 1.6

— Function: atk-get-toolkit-name ⇒  (ret mchars)

Gets name string for the GUI toolkit implementing ATK for this application.

ret
name string for the GUI toolkit implementing ATK for this application
— Function: atk-get-toolkit-version ⇒  (ret mchars)

Gets version string for the GUI toolkit implementing ATK for this application.

ret
version string for the GUI toolkit implementing ATK for this application