Method: Ruber::SettingsContainer#remove_widget
- Defined in:
- lib/ruber/settings_container.rb
#remove_widget(w) ⇒ nil
Removes a widget from the dialog
If the dialog doesn’t contain the widget, nothing is done. Otherwise, the dialog will be deleted
398 399 400 401 |
# File 'lib/ruber/settings_container.rb', line 398 def w deleted = @widgets.delete w delete_dialog if deleted end |