TK Entry Widget - Events?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toopillu
    New Member
    • Feb 2007
    • 3

    TK Entry Widget - Events?

    I am new in perl
    I want to know the all events from the entry widget

    I am adding text into hlist from the entry widget.
    when I goto the add button then only the text is adding into the hlist.
    but I want to add the text without add button, I want to use keyboard enter key event so i can add easily wihout add button .

    please guide me...
    toopillu...
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    I assume you are using Tk? Search on cpan for the Tk modules that interest you:

    Comment

    • Natti
      New Member
      • Feb 2007
      • 15

      #3
      Hi,
      You can probably use the delete method on hlist and refresh it on any keystroke on the entry box. However, I would not recommend this as it would do a redraw of your hlist each time.
      You will have to form your hlist array each time the keystroke is entered.

      Comment

      Working...