Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Autocompletion simulated in Tk

by mawe (Hermit)
on Jul 16, 2005 at 05:03 UTC ( [id://475408]=note: print w/replies, xml ) Need Help??


in reply to Autocompletion simulated in Tk

Hi!

You might be interested in Tk::MatchEntry.

Regards, mawe

Replies are listed 'Best First'.
Re^2: Autocompletion simulated in Tk
by Ace128 (Hermit) on Jul 16, 2005 at 13:15 UTC
    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
      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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://475408]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-23 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found