AtkUtil

Name

AtkUtil -- 

Synopsis



guint       atk_add_focus_tracker           (AtkFocusTracker focus_tracker);
void        atk_remove_focus_tracker        (guint tracker_id);
void        atk_focus_tracker_init          (AtkFocusTrackerInit add_function);
void        atk_focus_tracker_notify        (AtkObject *object);

Description

Details

atk_add_focus_tracker ()

guint       atk_add_focus_tracker           (AtkFocusTracker focus_tracker);

Adds the specified function to the list of functions to be called when an object receives focus.

focus_tracker : Function to be added to the list of functions to be called when an object receives focus.
Returns : added focus tracker id, or 0 on failure.


atk_remove_focus_tracker ()

void        atk_remove_focus_tracker        (guint tracker_id);

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


atk_focus_tracker_init ()

void        atk_focus_tracker_init          (AtkFocusTrackerInit add_function);

Specifies the function to be called for focus tracker initialization. This function should be called by an implementation of the ATK interface if any specific work needs to be done to enable focus tracking.

add_function : Function to be called for focus tracker initialization


atk_focus_tracker_notify ()

void        atk_focus_tracker_notify        (AtkObject *object);

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

object : an AtkObject