Method: Tk::Tcllib::Widget::ToolbarItem.id2obj
- Defined in:
- lib/tkextlib/tcllib/toolbar.rb
.id2obj(tbar, id) ⇒ Object
49 50 51 52 53 54 55 56 57 58 |
# File 'lib/tkextlib/tcllib/toolbar.rb', line 49 def ToolbarItem.id2obj(, id) tpath = .path ToolbarItemID_TBL.mutex.synchronize{ if ToolbarItemID_TBL[tpath] ToolbarItemID_TBL[tpath][id]? ToolbarItemID_TBL[tpath][id]: id else id end } end |