[pygtk] GtkComboBoxEntry and focus
John Ehresman
jpe at wingware.com
Thu Jan 5 00:57:29 WST 2006
Thierry Lam wrote:
> Let's say I have a GtkComboBoxEntry widget and each time I select it, I
> have a cursor blinking which tells me that the widget is in focus. How
> do I check that the GtkComboBoxEntry is no longer in focus whenever I
> select some other part of the GUI.
Are you looking for widget.flags() & gtk.HAS_FOCUS? This is how you
check if any particular widget has the focus.
Cheers,
John
More information about the pygtk
mailing list