Hi,

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.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to