Method: TkImage#delete

Defined in:
lib/tk/image.rb

#deleteObject



86
87
88
89
90
91
92
# File 'lib/tk/image.rb', line 86

def delete
  Tk_IMGTBL.mutex.synchronize{
    Tk_IMGTBL.delete(@id) if @id
  }
  tk_call_without_enc('image', 'delete', @path)
  self
end