Module: TkBindCore
Instance Method Summary collapse
- 
  
    
      #bind(context, *args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
def bind(context, cmd=Proc.new, *args) Tk.bind(self, context, cmd, *args) end.
 - 
  
    
      #bind_append(context, *args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
def bind_append(context, cmd=Proc.new, *args) Tk.bind_append(self, context, cmd, *args) end.
 - #bind_remove(context) ⇒ Object
 - #bindinfo(context = nil) ⇒ Object
 
Instance Method Details
#bind(context, *args) ⇒ Object
      3389 3390 3391 3392 3393 3394 3395 3396 3397  | 
    
      # File 'lib/tk.rb', line 3389 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  | 
  
#bind_append(context, *args) ⇒ Object
      3402 3403 3404 3405 3406 3407 3408 3409 3410  | 
    
      # File 'lib/tk.rb', line 3402 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  | 
  
#bind_remove(context) ⇒ Object
      3412 3413 3414  | 
    
      # File 'lib/tk.rb', line 3412 def bind_remove(context) Tk.bind_remove(self, context) end  |