how to grab focus using ATK
- From: Andrey Tsyvarev <tsyvarev ispras ru>
- To: gtk-app-devel-list gnome org
- Subject: how to grab focus using ATK
- Date: Wed, 15 Aug 2007 11:52:15 +0400
Hi,
Could someone explain how an ATK user should properly implement focus
grabbing for an object, so that atk_get_focus_object() would return
that object?
Suppose, for example, one needs to implement a virtual method
corresponding to atk_component_grab_focus() in a class implementing
AtkComponent inteface. The ATK documentation is unclear on how to do
this. The implementation could probably use atk_focus_tracker_notify()
function for this purpose. Though the description of this function
only says "Cause the focus tracker functions which have been specified
to be executed for the object."
Is there a common way to deal with this problem?
--
Andrey Tsyvarev
Linux Verification Center, ISP RAS
web: http://www.linuxtesting.org
e-mail: tsyvarev ispras ru
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]