Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: re-binding Tab in a TK Text field

by kelan (Deacon)
on Oct 30, 2004 at 06:02 UTC ( [id://403977]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    bind .t1 <Tab> { focus [tk_focusNext .t1]; break }
    
  2. or download this
    # fix the bindtags order so that widget events are
    # processed before class events
    ...
    
    # now give the text widget a new Tab binding
    $t1->bind( '<Tab>', sub { $t1->focusNext; Tk->break; } );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-24 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found