[pygtk] Set "focusable" state

1 view
Skip to first unread message

c...@netcom.co.uk

unread,
Nov 22, 2011, 7:28:02 AM11/22/11
to py...@daa.com.au
I've been trying to use Accerciser, the Gnome ATK test tool
(I actually want to use Dogtail, but that has problems I won't
go into here).

Accerciser reports on various missing requirements, among them
the need to set "focusable" state on some notebook tabs which
have the "focused" state. Does anyone know how I can do this
in PyGTK? I can't find any way of adding state to an object;
atk.Object.ref_state_set() gets a reference to the objects state
set, and not the state set itself.

Thanks - Will

_______________________________________________
pygtk mailing list py...@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Saeed Rasooli

unread,
Nov 22, 2011, 7:43:19 AM11/22/11
to c...@netcom.co.uk, py...@daa.com.au
widget.set_can_focus(False)

Saeed Rasooli

unread,
Nov 22, 2011, 7:44:23 AM11/22/11
to c...@netcom.co.uk, py...@daa.com.au
Sorry, I think I misunderstood you!
Reply all
Reply to author
Forward
0 new messages