add_focus_tracker


Description:

[ CCode ( cname = "atk_add_focus_tracker" ) ]
[ Version ( deprecated = true , deprecated_since = "2.9.4" ) ]
public static uint add_focus_tracker (EventListener focus_tracker)

Warning: add_focus_tracker is deprecated since 2.9.4.

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

Note:

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_change "focused" signal.

Parameters:

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.




2022 vala-language.org