[pygtk] gtk.Entry - how to move the cursor

Samuel Cormier-Iijima sciyoshi at gmail.com
Fri Aug 11 00:40:31 WST 2006

gtk.Entry has a set_position() function that does what I think you're
looking for. It's part of the gtk.Editable interface...


On 8/10/06, N. French <nbm_clan at yahoo.com> wrote:
> I have a gtk.Entry subclass which allows the user to press the up/down
> arrows to scroll thru history much like a shell prompt.  Works great.
> The only thing is when the user scrolls to a previous text the cursor
> always ends up at the beginning of the line.  It appears the
> gtk.Entry's cursor is a read-only thing.  Am I missing something here?
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

More information about the pygtk mailing list