Re: tab order



I set it all up, but I'm realizing that I still
don't have a way to grab it when the tab key has
caused the widget to lose its focus and not
any other time. I tried using a generic GdkEvent
and casting it to GdkEventKey and grabbing the
keyval, but it didn't work. Is there a way to
test for that?

Jeff "Shippy" Shipman     E-Mail: shippy nmt edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy

On Tue, 19 Dec 2000, Mark Leisher wrote:
>
> I can't remember if I verified this or not, but I seem to recall changing the
> order you create the widgets changes the tab order.
>
> On the other hand, you can add signal handlers for "focus_in_event" and
> "focus_out_event", which in conjunction with gtk_widget_grab_focus() can be
> used to manually process the focus traversal in the order you want.
> -----------------------------------------------------------------------------
> Mark Leisher
> Computing Research Lab            Cinema, radio, television, magazines are a
> New Mexico State University       school of inattention: people look without
> Box 30001, Dept. 3CRL             seeing, listen without hearing.
> Las Cruces, NM  88003                            -- Robert Bresson
>
> _______________________________________________
> 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]