45 sp = Gtk::manage(
new Gtk::SpinButton);
46 sp->set_valign(Gtk::ALIGN_CENTER);
48 pack_start(*sp,
false,
false, 0);
51 Gtk::SpinButton &get_spinbutton()
59 sp->signal_value_changed().connect([
this] {
60 value = sp->get_value();
61 preferences.signal_changed().emit();
67 Gtk::SpinButton *sp =
nullptr;