Method: TkcTag#delete

Defined in:
lib/tk/canvastag.rb

#deleteObject Also known as: remove, destroy



284
285
286
287
288
289
290
# File 'lib/tk/canvastag.rb', line 284

def delete
  @c.delete @id
  CTagID_TBL.mutex.synchronize{
    CTagID_TBL[@cpath].delete(@id) if CTagID_TBL[@cpath]
  }
  self
end