You should be able to use AtkSelection; ie, calling
AccessibleSelection_selectChild on the notebook, passing in the index of
the page.
On Tue, 24 Feb 2009, Quiring, Sam wrote:
Greetings,
I have a test application that creates a Gtk Notebook
(http://library.gnome.org/devel/gtk/stable/GtkNotebook.html), which implements
a tabbed interface. Here is a dump of the
relevant portion of the AT-SPI tree, notice there are no actions available for the "page tab" GUI
Item. I expected to see "click" or "select":
5 child 1/1 (n:,d:,r:page tab list) Box[1316,475,304,381] [actions: ] [subs:
Component Selection] (children: 3)
5 child 1/1 - [states: enabled, focusable, sensitive, showing, visible]
6 child 1/3 (n:1-Tab-1,d:,r:page tab) Box[1321,480,48,19] [actions: ] [subs:
Component Text] (children: 1)
6 child 1/3 - [states: enabled, multi_line, selectable, selected,
sensitive, showing, visible]
6 child 1/3 - Text(len: 7): "1-Tab-1"
...
6 child 2/3 (n:2-Tab-2,d:,r:page tab) Box[1377,482,48,17] [actions: ] [subs:
Component Text] (children: 1)
6 child 2/3 - [states: enabled, multi_line, selectable, sensitive, showing,
visible]
6 child 2/3 - Text(len: 7): "2-Tab-2"
In the application I can left-mouse-click on a hidden tab to bring
the associated frame to the top. How do I perform that operation using
accessibility?
-Sam
_______________________________________________
Gnome-accessibility-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel