Method: Tk::BWidget::ListBox#imagebind_append

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

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



65
66
67
68
69
70
71
72
73
74
75
# File 'lib/tkextlib/bwidget/listbox.rb', line 65

def imagebind_append(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_for_event_class(Event_for_Items, [path, 'bindImage'],
                               context, cmd, *args)
  self
end