3 #include "util/changeable.hpp"
4 #include "imp/action.hpp"
8 class ActionEditorBase :
public Gtk::Box,
public Changeable {
10 ActionEditorBase(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> &x,
class Preferences &prefs,
11 const std::string &title);
14 Preferences &preferences;
16 void set_placeholder_text(
const char *t);
19 Gtk::ListBox *action_listbox =
nullptr;
21 virtual std::vector<KeySequence> *maybe_get_keys() = 0;
22 virtual std::vector<KeySequence> &get_keys() = 0;
23 Gtk::Label *placeholder_label =
nullptr;