Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
def bind(context, cmd=Proc.new, *args)
Tk.bind(self, context, cmd, *args)
end
# File tk/lib/tk.rb, line 3387 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 3400 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