class Section
Public Class Methods
new(container, title)
click to toggle source
# File gtk3/sample/gtk-demo/cursors.rb, line 98 def initialize(container, title) label = Gtk::Label.new(title) label.xalign = 0 label.margin_top = 10 label.margin_bottom = 10 container.pack_start(label, :expand => false, :fill => true, :padding => 0) initialize_section container.pack_start(@section, :expand => false, :fill => true, :padding => 0) end