# Add a box
self.set_title("Scale example")
self.box = Gtk.ButtonBox()
self.add(self.box)
# Scale widget
self.entry = Gtk.Scale.new_with_range(Gtk.Orientation(0), 2.0, 10.0, 1.0)
self.entry.set_value(5.0)
self.box.pack_start(self.entry, False, False, 100)