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

Forcing focus away from a GtkEntry



Hi,

When a GtkEntry receives a button press event, it issues a
gtk_widget_grab_focus (to move focus to the itself).

Under some circumstances, I would like to grab the focus
away from the GtkEntry and move it to another widget.

Can anyone suggest a way that I might do this?

I've attempted catching the draw-focus,  grab-focus, focus-in-event,
on the focus receiving widget, and then issuing a gtk_widget_grab_focus
to a different widget in the signal func, but it doesn't work.

Surely there must be some way to do this?

Thanks,
Kent





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