Method: Tk::Text#__destroy_hook__

Defined in:
lib/tk/text.rb

#__destroy_hook__Object



279
280
281
282
283
284
285
286
# File 'lib/tk/text.rb', line 279

def __destroy_hook__
  TkTextTag::TTagID_TBL.mutex.synchronize{
    TkTextTag::TTagID_TBL.delete(@path)
  }
  TkTextTag::TMarkID_TBL.mutex.synchronize{
    TkTextMark::TMarkID_TBL.delete(@path)
  }
end