Re: Focus order in gtk 2.2.x



On Thu, 2003-03-06 at 10:50, Olaf FrÄczyk wrote:
Hi,
AFAIR in gtk 1.2.xx it was not easy to do it. 
Is there any easy way in Gtk 2.2.xx to set focus order?
eg:
GList *focus;
focus=NULL;
focus=focusadd(mywidget1);
focus=focusadd(mywidget2);
focus=focusadd(mywidget3);
setfocus(WindowContainingWidgets1_2_3,focus);

So when user presses Tab key moves from widget1->widget2->widget3.

http://developer.gnome.org/doc/API/2.2/gtk/GtkContainer.html#gtk-container-set-focus-chain

Regards,
                                       Owen





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