module Tk::Destroy

Public Class Methods

destroy(*windows) click to toggle source
# File lib/ffi-tk/command/destroy.rb, line 4
def self.destroy(*windows)
  Tk.unregister_objects(*windows)
  Tk.execute_only('destroy', *windows)
end

Public Instance Methods

destroy() click to toggle source
# File lib/ffi-tk/command/destroy.rb, line 9
def destroy
  Destroy.destroy(self)
end