[pygtk] get focus on a gtk.Entry()
alain.walter at thalesgroup.com
Fri Nov 30 20:51:26 WST 2007
I'm using a gtk.Entry() to enter text.
I want to set the focus to this widget and I've tried the
myEntry.grab_focus() and the mywin.set_focus(myEntry) méthods.
Both make the text of the entry area be selected (reverse video).
Then how to avoid this text selection when focus methods are used or how to
unselect a text or may be another way to set the focus ?
I don't understand why the focus has an impact of the selection of the text
Thank you for your help
View this message in context: http://www.nabble.com/get-focus-on-a-gtk.Entry%28%29-tf4902196.html#a14042570
Sent from the Gtk+ - Python mailing list archive at Nabble.com.
More information about the pygtk