mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
add a way to create a GAction from GSettings
g_settings_create_action() will create a GAction for the named key, allowing it to be added to the action group of the application (so that the setting can be directly manipulated from menus, for example). https://bugzilla.gnome.org/show_bug.cgi?id=668279
This commit is contained in:
@@ -267,6 +267,9 @@ void g_settings_bind_writable (GSettin
|
||||
void g_settings_unbind (gpointer object,
|
||||
const gchar *property);
|
||||
|
||||
GAction * g_settings_create_action (GSettings *settings,
|
||||
const gchar *key);
|
||||
|
||||
gpointer g_settings_get_mapped (GSettings *settings,
|
||||
const gchar *key,
|
||||
GSettingsGetMapping mapping,
|
||||
|
Reference in New Issue
Block a user