Class: Gtk::ToggleAction
- Inherits:
-
Object
- Object
- Gtk::ToggleAction
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gtk3/deprecated.rb,
lib/gtk3/toggle-action.rb
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ ToggleAction
constructor
A new instance of ToggleAction.
- #initialize_raw ⇒ Object
Constructor Details
#initialize(name, options = {}) ⇒ ToggleAction
Returns a new instance of ToggleAction.
20 21 22 23 24 25 |
# File 'lib/gtk3/toggle-action.rb', line 20 def initialize(name, ={}) initialize_raw(name, [:label], [:tooltip], [:stock_id]) end |
Instance Method Details
#initialize_raw ⇒ Object
19 |
# File 'lib/gtk3/toggle-action.rb', line 19 alias_method :initialize_raw, :initialize |