def initialize
super("check buttons")
box1 = Gtk::VBox.new
add(box1)
box2 = Gtk::VBox.new(false, 10)
box2.border_width = 10
box1.add(box2)
button = Gtk::CheckButton.new("button1")
box2.add(button)
button = Gtk::CheckButton.new("button2")
box2.add(button)
button = Gtk::CheckButton.new("button3")
box2.add(button)
box1.pack_start(Gtk::HSeparator.new)
box2 = Gtk::VBox.new(false, 10)
box2.border_width = 10
box1.add(box2)
button = Gtk::Button.new("close")
button.signal_connect("clicked"){destroy}
box2.add(button)
end