Class: MixedBox

Inherits:
Gtk::Box show all
Defined in:
lib/gtk_paradise/examples/gtk4/026_frame_example.rb

Instance Method Summary collapse

Methods inherited from Gtk::Box

#add_space, #left_aligned_text, #text

Constructor Details

#initialize(box1, box2) ⇒ MixedBox

Returns a new instance of MixedBox.



89
90
91
92
93
# File 'lib/gtk_paradise/examples/gtk4/026_frame_example.rb', line 89

def initialize(box1, box2)
  super(:vertical)
  append(box1)
  append(box2)
end