Class: Gtk::ScaleButton
- Inherits:
-
Object
- Object
- Gtk::ScaleButton
- Defined in:
- lib/gtk4/scale-button.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ScaleButton
constructor
A new instance of ScaleButton.
- #initialize_raw ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ ScaleButton
Returns a new instance of ScaleButton.
20 21 22 23 24 25 26 |
# File 'lib/gtk4/scale-button.rb', line 20 def initialize(={}) min = [:min] || 0 max = [:max] || 100 step = [:step] || 2 icons = [:icons] || nil initialize_raw(min, max, step, icons) end |
Instance Method Details
#initialize_raw ⇒ Object
19 |
# File 'lib/gtk4/scale-button.rb', line 19 alias_method :initialize_raw, :initialize |