Tkinter: Entry widget with history/completion

Alan Gauld alan.gauld at gssec.bt.co.uk
Tue Jun 13 09:58:39 EDT 2000


Hans-Joachim Widmaier wrote:
> I'd like to have an Entry(-like) widget that has a history
...
> find any widget method that gives me the current index of the
> cursor 

> How would you recommend doing it?
>  - By subclassing Entry
>  - By creating a new Pmw MegaWidget

I'd probably go for the former but...

have you considered using a single line Text widget 
instead of the Entry? It does have methods for accessing 
the curent index position.

Alan g.

-- 
=================================================
This post represents the views of the author 
and does not necessarily accurately represent 
the views of BT.



More information about the Python-list mailing list