def bind(context, cmd=Proc.new, *args)
Tk.bind(self, context, cmd, *args)
end
# File tk/lib/tk.rb, line 3399 def bind(context, *args) # if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block_given? cmd = args.shift else cmd = Proc.new end Tk.bind(self, context, cmd, *args) end
def #bind_append(context, cmd=Proc.new, *args)
Tk.bind_append(self, context, cmd, *args)
end
# File tk/lib/tk.rb, line 3412 def bind_append(context, *args) # if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block_given? cmd = args.shift else cmd = Proc.new end Tk.bind_append(self, context, cmd, *args) end