Methods
Included Modules
Constants
TkCommandNames | = | ['ButtonBox'.freeze].freeze |
WidgetClassName | = | 'ButtonBox'.freeze |
Instance Public methods
add(keys={}, &b)
Link
delete(idx)
Link
index(idx)
Link
insert(idx, keys={}, &b)
Link
invoke(idx)
Link
set_focus(idx)
Link
tagid(tagOrId)
Link
# File ext/tk/lib/tkextlib/bwidget/buttonbox.rb, line 29 def tagid(tagOrId) if tagOrId.kind_of?(Tk::BWidget::Button) name = tagOrId[:name] return index(name) unless name.empty? end if tagOrId.kind_of?(Tk::Button) return index(tagOrId[:text]) end # index(tagOrId.to_s) index(_get_eval_string(tagOrId)) end