Top | ![]() |
![]() |
![]() |
![]() |
enum | MaliitSettingsEntryType |
#define | MALIIT_SETTING_DEFAULT_VALUE |
#define | MALIIT_SETTING_VALUE_DOMAIN |
#define | MALIIT_SETTING_VALUE_DOMAIN_DESCRIPTIONS |
#define | MALIIT_SETTING_VALUE_RANGE_MAX |
#define | MALIIT_SETTING_VALUE_RANGE_MIN |
Here MaliitSettingsEntryType, attribute keys and
maliit_validate_setting_value()
are specified.
gboolean maliit_validate_setting_value (MaliitSettingsEntryType type
,GHashTable *attributes
,GVariant *value
);
Validate the value for a plugin setting entry.
type |
a MaliitSettingsEntryType to validate against. |
|
attributes |
Attributes to validate. |
[transfer none][element-type utf8 GLib.Variant] |
value |
A GVariant to validate. |
[transfer none] |
#define MALIIT_SETTING_DEFAULT_VALUE "defaultValue"
Name of setting entry attribute which holds the default value for a setting entry.
#define MALIIT_SETTING_VALUE_DOMAIN "valueDomain"
Name of setting entry attribute which holds the list of values that can be assigned to the entry.
#define MALIIT_SETTING_VALUE_DOMAIN_DESCRIPTIONS "valueDomainDescriptions"
Name of setting entry attribute which holds the descriptions for
the values in MALIIT_SETTING_VALUE_DOMAIN()
.
#define MALIIT_SETTING_VALUE_RANGE_MAX "valueRangeMax"
Name of setting entry attribute which holds the maximum valid value (inclusive) for an integer property.