Re: Tab Stop



"Andr s" Giraldo <andres_giraldo yahoo com> writes: 
> ¿Theres any way to control the sequence, what widget
> should get the focus first, and what widget will not
> get a focus?
> 

You can toggle whether a widget gets focus:
 GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS)
 GTK_WIDGET_UNSET_FLAGS (widget, GTK_CAN_FOCUS)

You can't change the order in GTK 1.2 though. Upcoming GTK 2 has
gtk_container_set_focus_chain().

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]