new(interp, pr, arg = nil)
Class Public methods
initialize(interp, pr, arg):
interp: interpreter(TclTkInterpreter)
pr: callback procedure(Proc)
arg: string to pass as block parameters of pr
bind command of tcl/tk uses % replacement for parameters
pr can receive replaced data using block parameter
its format is specified by arg string
You should not specify arg for the command like
scrollbar with -command option, which receives parameters
without specifying any replacement
Please login to continue.