[pygtk] Select gtk.Entry text on click
Darren Hart
darren at dvhart.com
Mon Mar 10 14:36:08 WST 2008
When I tab into a gtk.Entry, all the text gets selected. When I click in
it, my cursor get's placed, and no text is selected. Since the default for
my particular application will be to replace the text, I would like to
select it all when I click in it. I've tried calling entry.select_region(0=
,-1)
from various signal handlers, but it always seems to get undone. Can
someone suggest a solution?
Thanks.
-- =
Darren Hart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080309/46f08c38/at=
tachment.htm
More information about the pygtk
mailing list