Re: Tab Stop



Sorry, this is still (fairly) alien territory.  When is GTK 2 likely to have a stable release? 

----- Original Message ----- 
From: "Havoc Pennington" <hp redhat com>
To: "Andrés Giraldo" <andres_giraldo yahoo com>
Cc: "Gtk List" <gtk-list gnome org>
Sent: Wednesday, July 04, 2001 10:53 PM
Subject: 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

_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





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