in reply to Re: I don't understand a piece of Perl/Tk code
in thread I don't understand a piece of Perl/Tk code
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 ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: I don't understand a piece of Perl/Tk code
by zentara (Cardinal) on Aug 17, 2007 at 12:42 UTC |