On Mon, 2007-02-19 at 04:56 -0500, Youness Alaoui wrote:
> button.tcl doesn't have anything to do with %X %Y... I just looked and it
> seems the ::tk::ButtonUp { w }
> doesn't check for mouse position... instead it only checks if %W is equal to
> $priv(window) which is a global
> vars where it stores the last entered button.. in other words, on FocusOut it
> unsets $priv(window) so the
> buttonRelease has a if %W == "" which is always false, so no $w invoke is
> called...
> Should we do it that way (using yet another global variable) or use the %X/%Y
> calculation ?
>
> KKRT
Well I asked in #tcl and they said there is NO reason to use a label as
a button, you can just say -relief none
Can some mac person tell us *why* we need it as a label?
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel