class Bar
The Application Window
Public Class Methods
Source
# File src/bar.rb, line 8 def initialize app super app set_layer_shell # box box = Gtk::Box.new :horizontal box.valign = :center box.halign = :center box.spacing = app.options[:spacing] || 10 box.name = "bar" set_child box for widget in app.options[:widgets] pp widget if app.options[:verbose] if klass = Widgets::Widget.from_options widget box.append klass else puts "Unknown widget name #{widget[:type].inspect}" end end end
Calls superclass method