Methods
C
D
G
I
N
S
Constants
TkCommandNames = ['::iwidgets::selectiondialog'.freeze].freeze
 
WidgetClassName = 'Selectiondialog'.freeze
 
Instance Public methods
child_site()
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 22
def child_site
  window(tk_call(@path, 'childsite'))
end
clear_items()
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 26
def clear_items
  tk_call(@path, 'clear', 'items')
  self
end
clear_selection()
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 31
def clear_selection
  tk_call(@path, 'clear', 'selection')
  self
end
curselection()

based on Tk::Listbox ( and TkTextWin )

# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 54
def curselection
  list(tk_send_without_enc('curselection'))
end
delete(first, last=None)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 57
def delete(first, last=None)
  tk_send_without_enc('delete', first, last)
  self
end
get()
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 36
def get
  tk_call(@path, 'get')
end
index(idx)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 61
def index(idx)
  tk_send_without_enc('index', idx).to_i
end
insert_items(idx, *args)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 40
def insert_items(idx, *args)
  tk_call(@path, 'insert', 'items', idx, *args)
end
insert_selection(pos, text)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 44
def insert_selection(pos, text)
  tk_call(@path, 'insert', 'selection', pos, text)
end
nearest(y)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 64
def nearest(y)
  tk_send_without_enc('nearest', y).to_i
end
scan_dragto(x, y)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 71
def scan_dragto(x, y)
  tk_send_without_enc('scan', 'dragto', x, y)
  self
end
scan_mark(x, y)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 67
def scan_mark(x, y)
  tk_send_without_enc('scan', 'mark', x, y)
  self
end
select_item()
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 48
def select_item
  tk_call(@path, 'selectitem')
  self
end
selection_anchor(index)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 75
def selection_anchor(index)
  tk_send_without_enc('selection', 'anchor', index)
  self
end
selection_clear(first, last=None)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 79
def selection_clear(first, last=None)
  tk_send_without_enc('selection', 'clear', first, last)
  self
end
selection_includes(index)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 83
def selection_includes(index)
  bool(tk_send_without_enc('selection', 'includes', index))
end
selection_set(first, last=None)
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 86
def selection_set(first, last=None)
  tk_send_without_enc('selection', 'set', first, last)
  self
end
size()
# File ext/tk/lib/tkextlib/iwidgets/selectiondialog.rb, line 90
def size
  tk_send_without_enc('size').to_i
end