2#ifndef INKSCAPE_UI_WIDGET_CANVAS_PREFS_H
3#define INKSCAPE_UI_WIDGET_CANVAS_PREFS_H
void set_enabled(bool enabled)
Disable switch. If disabled, the Pref will stick at its default value.
std::function< void()> action
The action to perform when the value changes, if any.
Singleton class to access the preferences file in a convenient way.
Proxy object providing a "live value" interface.