Comment 3 for bug 706891

Revision history for this message
Alejandro PiƱeiro (apinheiro) wrote :

While working on bug 702696 I realized one thing.

Apart of the destroy event thing (that it is being solved by emitting this signal from the nux::Object or nux::Trackable) there is another reason it would be required, and it is related to the focus management support.

People are still working on the keyboard navigation of the launcher (bug 701546) but the fact is that it is supposed that it would be based on the current focus support. In that sense, in my atk implementation I'm using:
   * OnStartFocus
   * OnEndFocus
   * HasKeyboardFocus

in order to set the states related to the focus (ATK_STATE_FOCUSABLE, ATK_STATE_FOCUSED) [1] and to notify the focus changes [2]

And all of those functions are defined on InputArea.

[1] http://library.gnome.org/devel/atk/stable/atk-AtkState.html#AtkStateType
[2] http://library.gnome.org/devel/atk/stable/AtkObject.html#atk-object-notify-state-change