get_applet_settings


Description:

public Settings get_applet_settings (string uuid)

If your Plugin implementation passes the UUID to your BudgieApplet implementation on construction, you can take advantage of per-instance settings.

For most applets, global GSettings keys are more than suffice. However, in some situations, it may be beneficial to enable multiple unique instances of your applet, each with their own configuration.

To facilitate this, use this function to create a new relocatable settings instance using your UUID. Make sure you set the settings_schema and settings_prefix properties first.

Parameters:

uuid

UUID for this instance

Returns:

A newly created Settings for this applet instance