Module: Shoes::Common::Remove
- Included in:
- UIElement, Swt::Arc, Swt::Arrow, Swt::Background, Swt::Border, Swt::Gradient, Swt::Image, Swt::InputBox, Swt::Line, Swt::ListBox, Swt::Oval, Swt::Progress, Swt::Rect, Swt::Shape, Swt::Star, Swt::SwtButton, Swt::TextBlock
- Defined in:
- shoes-core/lib/shoes/common/remove.rb
Instance Method Summary collapse
Instance Method Details
#remove ⇒ Object
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 |