Module: Shoes::Common::Remove

Instance Method Summary collapse

Instance Method Details

#removeObject



6
7
8
9
10
11
# File 'shoes-core/lib/shoes/common/remove.rb', line 6

def remove
  parent&.remove_child self
  gui&.remove if gui&.respond_to?(:remove)
  @app&.remove_mouse_hover_control(self) if defined?(@app)
  self
end