Class: Gtk::RadioButton
- Inherits:
-
Object
- Object
- Gtk::RadioButton
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gtk3/deprecated.rb,
lib/gtk3/radio-button.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RadioButton
constructor
A new instance of RadioButton.
- #initialize_raw ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ RadioButton
Returns a new instance of RadioButton.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/gtk3/radio-button.rb', line 20 def initialize(={}) group = [:group] label = [:label] member = [:member] use_underline = [:use_underline] if label if member if use_underline (member, label) else (member, label) end else if use_underline initialize_new_with_mnemonic(group, label) else initialize_new_with_label(group, label) end end else if member (member) else initialize_raw end end end |
Instance Method Details
#initialize_raw ⇒ Object
19 |
# File 'lib/gtk3/radio-button.rb', line 19 alias_method :initialize_raw, :initialize |