Flutter Linux Embedder
fl_gnome_settings.h File Reference

Go to the source code of this file.

Functions

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE (FlGnomeSettings, fl_gnome_settings, FL, GNOME_SETTINGS, GObject)
 
FlSettings * fl_gnome_settings_new ()
 

Function Documentation

◆ fl_gnome_settings_new()

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.

164  {
165  g_autoptr(GSettings) interface_settings =
167  return FL_SETTINGS(g_object_new(fl_gnome_settings_get_type(),
168  kInterfaceSettings, interface_settings,
169  nullptr));
170 }

References create_settings(), kDesktopInterfaceSchema, and kInterfaceSettings.

Referenced by fl_settings_new(), and TEST_F().

◆ G_DECLARE_FINAL_TYPE()

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE ( FlGnomeSettings  ,
fl_gnome_settings  ,
FL  ,
GNOME_SETTINGS  ,
GObject   
)
kDesktopInterfaceSchema
static constexpr char kDesktopInterfaceSchema[]
Definition: fl_gnome_settings.cc:10
kInterfaceSettings
static constexpr char kInterfaceSettings[]
Definition: fl_gnome_settings.cc:17
create_settings
static GSettings * create_settings(const gchar *schema_id)
Definition: fl_gnome_settings.cc:151