Methods
Included Modules
Constants
TkCommandNames | = | ['::iwidgets::radiobox'.freeze].freeze |
WidgetClassName | = | 'Radiobox'.freeze |
Instance Public methods
add(tag=nil, keys={})
Link
# File ext/tk/lib/tkextlib/iwidgets/radiobox.rb, line 61 def add(tag=nil, keys={}) if tag.kind_of?(Hash) keys = tag tag = nil end if tag tag = Tk::Itk::Component.new(self, tagid(tag)) else tag = Tk::Itk::Component.new(self) end tk_call(@path, 'add', tagid(tag), *hash_kv(keys)) tag end
delete(idx)
Link
deselect(idx)
Link
flash(idx)
Link
get_obj()
Link
index(idx)
Link
insert(idx, tag=nil, keys={})
Link
# File ext/tk/lib/tkextlib/iwidgets/radiobox.rb, line 103 def insert(idx, tag=nil, keys={}) if tag.kind_of?(Hash) keys = tag tag = nil end if tag tag = Tk::Itk::Component.new(self, tagid(tag)) else tag = Tk::Itk::Component.new(self) end tk_call(@path, 'insert', index(idx), tagid(tag), *hash_kv(keys)) tag end
select(idx)
Link