Method: Tk::BWidget::Tree#areabind

Defined in:
lib/tkextlib/bwidget/tree.rb

#areabind(context, *args, &block) ⇒ Object



61
62
63
64
65
66
67
68
69
70
# File 'lib/tkextlib/bwidget/tree.rb', line 61

def areabind(context, *args, &block)
  if TkComm._callback_entry?(args[0]) || !block
    cmd = args.shift
  else
    cmd = block
  end
  _bind_for_event_class(Event_for_Items, [path, 'bindArea'],
                        context, cmd, *args)
  self
end