|
|
| Think about Loose Coupling | |
| PerlMonks |
(yakko: ctrl-u addition) Re: Perl/Tk Chatterbox Clientby yakko (Friar) |
| on Jan 21, 2001 at 20:34 UTC ( [id://53380]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Great client! Here's some small bits to add if you like using ^U to get rid of the text in the input widget... Around line 541, you originally have: insert the ^U binding after the statements above: and around line 682, between the end of the Msg_Click sub and the beginning of the completeName sub, I put my ^U subroutine: So far, so good here on my system... a perusal of Tk::Text didn't reveal conflicts with normal keys... (Update: Added context to make locating the spots to put the code a tad easier) --
In Section
Code Catacombs
|
|
||||||||||||||||||||||||