Re: tab order



    Jeff> Is there a way to find when the tab button has been pressed while a
    Jeff> certain widget is selected?

    Jeff> I have some entry widgets and buttons that I would like to change
    Jeff> the tab order of. It would be easy to set the focus of the correct
    Jeff> widget, I'm just not sure how to detect when tab has been pressed.

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




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