Method: Tk::TkTable::CellTag.id2obj

Defined in:
ext/lib/tkextlib/tktable/tktable.rb

.id2obj(table, id) ⇒ Object



138
139
140
141
142
143
144
145
146
147
# File 'ext/lib/tkextlib/tktable/tktable.rb', line 138

def self.id2obj(table, id)
  tpath = table.path
  CellTagID_TBL.mutex.synchronize{
    if CellTagID_TBL[tpath]
      CellTagID_TBL[tpath][id]? CellTagID_TBL[tpath][id] : id
    else
      id
    end
  }
end