Class: Gtk::Box

Inherits:
Object
  • Object
show all
Extended by:
GLib::Deprecatable
Defined in:
lib/gtk4/box.rb,
lib/gtk4/deprecated.rb

Instance Method Summary collapse

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_rawObject



19
# File 'lib/gtk4/box.rb', line 19

alias_method :initialize_raw, :initialize