Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
def bind(context, cmd=Proc.new, *args)
Tk.bind(self, context, cmd, *args)
end
# File tk/lib/tk.rb, line 3375 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 3388 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