Methods
- #
- C
- D
- I
- R
Included Modules
Constants
ToolbarItemID_TBL | = | TkCore::INTERP.create_table |
Class Public methods
id2obj(tbar, id)
Link
Instance Public methods
[](key)
Link
[]=(key,val)
Link
cget(option)
Link
cget_strict(option)
Link
cget_tkstring(option)
Link
configinfo(key=nil)
Link
configure(key, value=None)
Link
current_configinfo(key=nil)
Link
delete()
Link
initaialize(parent, *args)
Link
# File ext/tk/lib/tkextlib/tcllib/toolbar.rb, line 59 def initaialize(parent, *args) @parent = @t = parent @tpath = parent.path @path = @id = @t.tk_send('add', *args) # A same id is rejected by the Tcl function. ToolbarItemID_TBL.mutex.synchronize{ ToolbarItemID_TBL[@id] = self ToolbarItemID_TBL[@tpath] = {} unless ToolbarItemID_TBL[@tpath] ToolbarItemID_TBL[@tpath][@id] = self } end
itemid()
Link
remove()
Link