Class: Gtk::Box
- Inherits:
-
Object
- Object
- Gtk::Box
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gtk4/box.rb,
lib/gtk4/deprecated.rb
Instance Method Summary collapse
-
#initialize(orientation, spacing = 0) ⇒ Box
constructor
A new instance of Box.
- #initialize_raw ⇒ Object
Constructor Details
#initialize(orientation, spacing = 0) ⇒ Box
Returns a new instance of Box.
20 21 22 |
# File 'lib/gtk4/box.rb', line 20 def initialize(orientation, spacing=0) initialize_raw(orientation, spacing || 0) end |
Instance Method Details
#initialize_raw ⇒ Object
19 |
# File 'lib/gtk4/box.rb', line 19 alias_method :initialize_raw, :initialize |