Method: Tk::BWidget::NoteBook#tabbind
- Defined in:
- lib/tkextlib/bwidget/notebook.rb
#tabbind(context, *args) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/tkextlib/bwidget/notebook.rb', line 54 def tabbind(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 _bind_for_event_class(Event_for_Tabs, [path, 'bindtabs'], context, cmd, *args) self end |