# File gnome/sample/gnome-config.rb, line 32
  def initialize
    super(NAME, TITLE)

    self.signal_connect("delete_event") { Gtk::main_quit() }

    box = Gtk::VBox.new()
    box.border_width = 10
    self.contents = box

    button = Gtk::Button.new("Save Position")
    button.signal_connect("clicked") { save_position() }
    box.pack_start(button, true, true, 0)

    button = Gtk::Button.new("Save Size")
    button.signal_connect("clicked") { save_size() }
    box.pack_start(button, true, true, 0)

    button = Gtk::Button.new("Restore Position")
    button.signal_connect("clicked") { restore_position() }
    box.pack_start(button, true, true, 0)

    button = Gtk::Button.new("Restore Size")
    button.signal_connect("clicked") { restore_size() }
    box.pack_start(button, true, true, 0)

    button = Gtk::Button.new("Clear Position")
    button.signal_connect("clicked") { clear_position() }
    box.pack_start(button, true, true, 0)

    button = Gtk::Button.new("Clear Size")
    button.signal_connect("clicked") { clear_size() }
    box.pack_start(button, true, true, 0)

    button = Gtk::Button.new("Quit")
    button.signal_connect("clicked") { Gtk::main_quit() }
    box.pack_start(button, true, true, 0)

    restore_settings_with_default()
    self.show_all()
  end