Widgets are sent key presses before GTK+ checks for focus keys. If the
widget handles the key press in its event handler and returns TRUE,
then GTK+ will not check for tab/arrows.
For instance, this is how GtkText prevents a tab key from tabbing out
of the GtkText widget.
Hrm.. I guess the
where I can look in gtk to find this automatic focus
setting code?
Thanks,
Ken Simpson
Komodo Developer
ActiveState
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Or do you mean GTK has support for moving focus via the Tab key, etc.?
This is handled initially in the key_press_event default handler in
gtkwindow.c and from there moves into the focus virtual
function/signal on specific sub-containers.
I apologize if I wasn't clear in my email. The