Method: Tk::BWidget::ListBox#imagebind_append
- Defined in:
- lib/tkextlib/bwidget/listbox.rb
#imagebind_append(context, *args) ⇒ Object
def imagebind_append(*args)
_bind_append_for_event_class(Event_for_Items, [path, 'bindImage'], *args)
self
end
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/tkextlib/bwidget/listbox.rb', line 72 def imagebind_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 _bind_append_for_event_class(Event_for_Items, [path, 'bindImage'], context, cmd, *args) self end |