[pygtk] gtk.Entry - how to move the cursor
N. French
nbm_clan at yahoo.com
Fri Aug 11 07:06:25 WST 2006
Perfect, thank you. I now know I need to pay attention to the
"implements gtk.Editable interface" stuff in the doc ;).
--- Samuel Cormier-Iijima <sciyoshi at gmail.com> wrote:
> gtk.Entry has a set_position() function that does what I think you're
> looking for. It's part of the gtk.Editable interface...
>
> Cheers,
> Samuel
>
> 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/
> >
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the pygtk
mailing list