Hi! Very nice piece of code. Altough i still have questions regarding it. In particular,you apply method move to $canvas altough you want to move $dragster. There is a hint about this in the fact that move() method has a parameter called "current",is this indicating that $dragster is the current object that has focus or... ?
Now i have a second question. Is there first parameter in bind user-defined ,or is it from some list of possible values ? is the first argument to bind('move') in any way linked to the method move wich is applied to canvas ?
In reply to Re^2: I don't understand a piece of Perl/Tk code
by spx2
in thread I don't understand a piece of Perl/Tk code
by spx2
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |