ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-tk
perl-tk
Re: (fwd) binding to a derived canvas widget
by Steve Lidie other posts by this author
Mar 30 2006 4:47PM messages near this date
Re: (fwd) Re: (fwd) binding to a derived canvas widget | Win32Util::maximize after redrawing tk window
SOURCE 
To pique everyone's interest, I'll note at the outset that the below  
is a very, very, interesting problem. I have a solution, but I have  
no time until this weekend to give a proper answer.  In short, we'll  
use bindtags(), maybe an overridden bind() method, to solve the  
problem ....


>  From: zentara <zentara@[...].net>
>  Newsgroups: comp.lang.perl.tk
>  Subject: binding to a derived canvas widget
>  Date: Wed, 29 Mar 2006 20:37:36 GMT
> 
>  Hi,
>  Generally I avoid these problems, by not using objects and
>  modules, but I wanted to try and put this in a module form. :-)

good!

> 
> 
>  It has to be something simple, but I've already tried a bunch of
>  different things, and figure that I am missing the trick on how to
>  handle multiple binding.  I've read perldoc Tk::bind, and it said that
>  if multiple bindings are made to say Button-1, the callback from the
>  class will be called first, then the one from main. BUT the main isn't
>  being called in this example.....that is the problem.


and the solution will follow in a few days ...


-++**==--++**==--++**==--++**==--++**==--++**==--++**==
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 majordomo@lists.stanford.edu

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved