3 #include "preferences/preferences.hpp"
10 virtual void activate()
16 void set_title(
const std::string &t);
17 void set_subtitle(
const std::string &t);
20 Gtk::Label *label_title =
nullptr;
21 Gtk::Label *label_subtitle =
nullptr;
28 void activate()
override;
31 Gtk::Switch *sw =
nullptr;
37 const std::string &label_false,
Preferences &prefs,
bool &v);
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;
75 void set_placeholder(Gtk::Widget &w);
78 Gtk::ListBox *listbox =
nullptr;
Definition: preferences_row.hpp:70
Definition: preferences_row.hpp:25
Definition: preferences_row.hpp:40
Definition: preferences_row.hpp:7
Definition: preferences.hpp:164