in reply to Re: Autocompletion simulated in Tk
in thread Autocompletion simulated in Tk

Alrighty! Just as I wanted! Thanks! However, I get kinda curious on the others mentioned. I wanna use "the best" one. And it seems like Tk::MatchEntry is the one to use, but if anyone else here knows if anyone of the following is better, please tell me:
Tk::BrowseEntry
Tk::HistEntry
Tk::JBrowseEntry
Tk::SelectionEntry

Tk::MatchEntry is based on all those so I guess Tk::MatchEntry is the one I should go for...

/ Ace

Replies are listed 'Best First'.
Re^3: Autocompletion simulated in Tk
by mawe (Hermit) on Jul 16, 2005 at 21:38 UTC
    Hi!

    Well, they all behave a little different (as far as I understood the descriptions ;-)):
    Tk::MatchEntry: While you type into the entry, a list with choices pops up (I guess thats what you wanted).
    Tk::BrowseEntry: Well, that's just a Combobox, which doesn't really care about what you typed into the entry. Always the same items are shown in the list.
    Tk::HistEntry: This one remembers what you typed into the entry, so you can scroll back in history ;)
    Tk::SelectionEntry: I couldn't find this one :-/

    Hope this helps for your decision :)

    Regards, mawe

      Thanks man! Tk::MatchEntry it is then!