Re: bind double click to resize text widget(s)

Ala Qumsieh <[email protected]>
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>

--- [email protected] wrote:

> $topw->bind('<Double-Button-1>', \&resize(0));
> $botw->bind('<Double-Button-1>', \&resize(1));

  $topw->bind('<Double-Button-1>', [\&resize, 0]);
  $botw->bind('<Double-Button-1>', [\&resize, 1]);

Check out 'perldoc Tk::callbacks' for more info.

--Ala



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.