[pygtk] Deselecting the text from an Entry the first time it appears.

Fabrice Delente delentef at gmail.com
Tue Nov 23 01:12:47 WST 2010


>
>  You have to set the position *after* you show the entry.
>
>        self.interfacePourNombres.show_all()
>        self.zonePourNombres.set_position(1) # Or use -1 to always put the
> cursor at the end
>

Thanks! That did it!

-- 
Fabrice DELENTE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20101122/efedd7f9/attachment.html>


More information about the pygtk mailing list