Util.addFocusTracker

Warning atk_add_focus_tracker is deprecated and should not be used in newly-written code. This method is deprecated since ATK version 2.9.4. Focus tracking has been dropped as a feature to be implemented by ATK itself. If you need focus tracking on your implementation, subscribe to the state-changed:focused signal. Adds the specified function to the list of functions to be called when an object receives focus.

class Util
static
uint
addFocusTracker

Parameters

focusTracker AtkEventListener

Function to be added to the list of functions to be called when an object receives focus.

Return Value

Type: uint

added focus tracker id, or 0 on failure.

Meta