![]() |
![]() |
![]() |
Awn Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
DesktopAgnosticConfigClient* awn_config_get_default (gint panel_id, GError **error); DesktopAgnosticConfigClient* awn_config_get_default_for_applet (AwnApplet *applet, GError **error); DesktopAgnosticConfigClient* awn_config_get_default_for_applet_by_info (const gchar *name, const gchar *uid, GError **error); void awn_config_free (void);
Functions used by the dock, applets, and preferences dialogs to associate configuration options with the first two categories. Also handles their memory management.
DesktopAgnosticConfigClient* awn_config_get_default (gint panel_id, GError **error);
Looks up or creates a configuration client that is associated with the panel specified.
|
The ID of the panel that is associated with the configuration client. |
|
The address of the GError object, if an error occurs. |
Returns : |
A borrowed reference to a configuration client object. |
DesktopAgnosticConfigClient* awn_config_get_default_for_applet (AwnApplet *applet, GError **error);
Looks up or creates a configuration client that is associated with the given applet.
|
The applet. |
|
The address of the GError object, if an error occurs. |
Returns : |
A borrowed reference to the configuration client associated with the applet specified via the metadata. |
DesktopAgnosticConfigClient* awn_config_get_default_for_applet_by_info (const gchar *name, const gchar *uid, GError **error);
Looks up or creates a configuration client that is associated with the canonical name of an applet and an optional UID. Should only be used by code where the AwnApplet object is not present, such as the dock's preferences dialog.
|
The canonical applet name. |
|
The UID of the applet (may not be NULL ).
|
|
The address of the GError object, if an error occurs. |
Returns : |
A borrowed reference to the configuration client associated with the applet specified via the metadata. |