Method: TkComm#bind_append
- Defined in:
- lib/tk.rb
#bind_append(tagOrClass, context, *args, &block) ⇒ Object
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 |
# File 'lib/tk.rb', line 1083 def bind_append(tagOrClass, context, *args, &block) # if args[0].kind_of?(Proc) || args[0].kind_of?(Method) if TkComm._callback_entry?(args[0]) || !block cmd = args.shift else cmd = block end _bind_append(["bind", tagOrClass], context, cmd, *args) tagOrClass end |