Go to the source code of this file.
Classes | |
struct | _FlGnomeSettings |
Enumerations | |
enum | { kProp0, kPropInterfaceSettings, kPropLast } |
Functions | |
static void | fl_gnome_settings_iface_init (FlSettingsInterface *iface) |
G_DEFINE_TYPE_WITH_CODE (FlGnomeSettings, fl_gnome_settings, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(fl_settings_get_type(), fl_gnome_settings_iface_init)) static FlClockFormat fl_gnome_settings_get_clock_format(FlSettings *settings) | |
static FlColorScheme | fl_gnome_settings_get_color_scheme (FlSettings *settings) |
static gboolean | fl_gnome_settings_get_enable_animations (FlSettings *settings) |
static gboolean | fl_gnome_settings_get_high_contrast (FlSettings *settings) |
static gdouble | fl_gnome_settings_get_text_scaling_factor (FlSettings *settings) |
static void | fl_gnome_settings_set_interface_settings (FlGnomeSettings *self, GSettings *settings) |
static void | fl_gnome_settings_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) |
static void | fl_gnome_settings_dispose (GObject *object) |
static void | fl_gnome_settings_class_init (FlGnomeSettingsClass *klass) |
static void | fl_gnome_settings_init (FlGnomeSettings *self) |
static GSettings * | create_settings (const gchar *schema_id) |
FlSettings * | fl_gnome_settings_new () |
Variables | |
static constexpr char | kDesktopInterfaceSchema [] = "org.gnome.desktop.interface" |
static constexpr char | kDesktopTextScalingFactorKey [] = "text-scaling-factor" |
static constexpr char | kDesktopClockFormatKey [] = "clock-format" |
static constexpr char | kDesktopGtkThemeKey [] = "gtk-theme" |
static constexpr char | kClockFormat12Hour [] = "12h" |
static constexpr char | kGtkThemeDarkSuffix [] = "-dark" |
static constexpr char | kInterfaceSettings [] = "interface-settings" |
anonymous enum |
Enumerator | |
---|---|
kProp0 | |
kPropInterfaceSettings | |
kPropLast |
Definition at line 25 of file fl_gnome_settings.cc.
|
static |
Definition at line 151 of file fl_gnome_settings.cc.
References TRUE.
Referenced by fl_gnome_settings_new().
|
static |
Definition at line 127 of file fl_gnome_settings.cc.
References fl_gnome_settings_dispose(), fl_gnome_settings_set_property(), kDesktopInterfaceSchema, kInterfaceSettings, and kPropInterfaceSettings.
|
static |
|
static |
Definition at line 50 of file fl_gnome_settings.cc.
References FL_COLOR_SCHEME_DARK, FL_COLOR_SCHEME_LIGHT, kDesktopGtkThemeKey, kGtkThemeDarkSuffix, and value.
Referenced by fl_gnome_settings_iface_init().
|
static |
Definition at line 66 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_iface_init().
|
static |
Definition at line 70 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_iface_init().
|
static |
Definition at line 74 of file fl_gnome_settings.cc.
References kDesktopTextScalingFactorKey.
Referenced by fl_gnome_settings_iface_init().
|
static |
Definition at line 141 of file fl_gnome_settings.cc.
References fl_gnome_settings_get_color_scheme(), fl_gnome_settings_get_enable_animations(), fl_gnome_settings_get_high_contrast(), and fl_gnome_settings_get_text_scaling_factor().
|
static |
Definition at line 149 of file fl_gnome_settings.cc.
FlSettings* fl_gnome_settings_new | ( | ) |
fl_gnome_settings_new:
Creates a new settings instance for GNOME.
Returns: a new #FlSettings.
Definition at line 164 of file fl_gnome_settings.cc.
References create_settings(), kDesktopInterfaceSchema, and kInterfaceSettings.
Referenced by fl_settings_new(), and TEST_F().
|
static |
Definition at line 86 of file fl_gnome_settings.cc.
References fl_settings_emit_changed().
Referenced by fl_gnome_settings_set_property().
|
static |
Definition at line 103 of file fl_gnome_settings.cc.
References fl_gnome_settings_set_interface_settings(), kPropInterfaceSettings, prop_id, pspec, and value.
Referenced by fl_gnome_settings_class_init().
G_DEFINE_TYPE_WITH_CODE | ( | FlGnomeSettings | , |
fl_gnome_settings | , | ||
G_TYPE_OBJECT | , | ||
G_IMPLEMENT_INTERFACE(fl_settings_get_type(), fl_gnome_settings_iface_init) | |||
) |
Definition at line 29 of file fl_gnome_settings.cc.
References FL_CLOCK_FORMAT_12H, FL_CLOCK_FORMAT_24H, kClockFormat12Hour, kDesktopClockFormatKey, and value.
|
staticconstexpr |
Definition at line 15 of file fl_gnome_settings.cc.
Referenced by G_DEFINE_TYPE_WITH_CODE().
|
staticconstexpr |
Definition at line 12 of file fl_gnome_settings.cc.
Referenced by G_DEFINE_TYPE_WITH_CODE().
|
staticconstexpr |
Definition at line 13 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_get_color_scheme().
|
staticconstexpr |
Definition at line 10 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_class_init(), and fl_gnome_settings_new().
|
staticconstexpr |
Definition at line 11 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_get_text_scaling_factor().
|
staticconstexpr |
Definition at line 16 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_get_color_scheme().
|
staticconstexpr |
Definition at line 17 of file fl_gnome_settings.cc.
Referenced by fl_gnome_settings_class_init(), and fl_gnome_settings_new().