Ecore_Config_Default_Group (3) - Linux Manuals
Ecore_Config_Default_Group: Functions that are used to set the default values of properties.
NAME
Ecore Config Defaults - Functions that are used to set the default values of properties.
Functions
EAPI int ecore_config_default (const char *key, const char *val, float lo, float hi, float step)
Sets the indicated property if it has not already been set or loaded.
EAPI int ecore_config_boolean_default (const char *key, int val)
Sets the indicated property to the given boolean if the property has not yet been set.
EAPI int ecore_config_int_default (const char *key, int val)
Sets the indicated property to the given integer if the property has not yet been set.
EAPI int ecore_config_int_default_bound (const char *key, int val, int low, int high, int step)
Sets the indicated property to the given integer if the property has not yet been set.
EAPI int ecore_config_string_default (const char *key, const char *val)
Sets the indicated property to the given string if the property has not yet been set.
EAPI int ecore_config_float_default (const char *key, float val)
Sets the indicated property to the given float if the property has not yet been set.
EAPI int ecore_config_float_default_bound (const char *key, float val, float low, float high, float step)
Sets the indicated property to the given float if the property has not yet been set.
EAPI int ecore_config_argb_default (const char *key, int a, int r, int g, int b)
Sets the indicated property to a color value if the property has not yet been set.
EAPI int ecore_config_argbint_default (const char *key, long argb)
Sets the indicated property to a color value if the property has not yet been set.
EAPI int ecore_config_argbstr_default (const char *key, const char *val)
Sets the indicated property to a color value if the property has not yet been set.
EAPI int ecore_config_theme_default (const char *key, const char *val)
Sets the indicated property to a theme name if the property has not yet been set.
Detailed Description
Functions that are used to set the default values of properties.
Function Documentation
EAPI int ecore_config_argb_default (const char * key, int a, int r, int g, int b)
Sets the indicated property to a color value if the property has not yet been set.
Parameters:
-
key The property key.
a integer 0..255
r integer 0..255
g integer 0..255
b integer 0..255
Returns:
- ECORE_CONFIG_ERR_SUCC if there are no problems.
EAPI int ecore_config_argbint_default (const char * key, long argb)
Sets the indicated property to a color value if the property has not yet been set.
Parameters:
-
key The property key.
argb ARGB data as long
Returns:
- ECORE_CONFIG_ERR_SUCC if there are no problems.
EAPI int ecore_config_argbstr_default (const char * key, const char * val)
Sets the indicated property to a color value if the property has not yet been set.
Parameters:
-
key The property key.
val Color value in ARGB format.
Returns:
- ECORE_CONFIG_ERR_SUCC if there are no problems.
EAPI int ecore_config_boolean_default (const char * key, int val)
Sets the indicated property to the given boolean if the property has not yet been set.
Parameters:
-
key The property key.
val Boolean Integer to set the value to.
Returns:
- ECORE_CONFIG_ERR_SUCC if there are no problems.
EAPI int ecore_config_default (const char * key, const char * val, float lo, float hi, float step)
Sets the indicated property if it has not already been set or loaded.
Parameters:
-
key The property key.
val Default value of the key.
lo Lowest valid value for the key.
hi Highest valid value for the key.
step Used by integer and float values.
Returns:
- ECORE_CONFIG_ERR_SUCC if there are no errors.
Note:
- The lo, hi and step parameters are only used when storing integer and float properties.
References ECORE_CONFIG_FLT, ecore_config_get(), and ECORE_CONFIG_INT.
EAPI int ecore_config_float_default (const char * key, float val)
Sets the indicated property to the given float if the property has not yet been set.
Parameters:
-
key The property key.
val Float to set the property to.
Returns:
- ECORE_CONFIG_ERR_SUCC if there were no problems.
EAPI int ecore_config_float_default_bound (const char * key, float val, float low, float high, float step)
Sets the indicated property to the given float if the property has not yet been set.
The bounds and step values are set regardless.
Parameters:
-
key The property key.
val Float to set the property to.
low Lowest valid integer value for the property.
high Highest valid float value for the property.
step Increment value for the property.
Returns:
- ECORE_CONFIG_ERR_SUCC if there were no problems.
References ECORE_CONFIG_FLT, and ecore_config_get().
EAPI int ecore_config_int_default (const char * key, int val)
Sets the indicated property to the given integer if the property has not yet been set.
Parameters:
-
key The property key.
val Integer to set the value to.
Returns:
- ECORE_CONFIG_ERR_SUCC if there are no problems.
EAPI int ecore_config_int_default_bound (const char * key, int val, int low, int high, int step)
Sets the indicated property to the given integer if the property has not yet been set.
The bounds and step values are set regardless.
Parameters:
-
key The property key.
val Integer to set the property to.
low Lowest valid integer value for the property.
high Highest valid integer value for the property.
step Increment value for the property.
Returns:
- ECORE_CONFIG_ERR_SUCC if there were no problems.
References ecore_config_get(), and ECORE_CONFIG_INT.
EAPI int ecore_config_string_default (const char * key, const char * val)
Sets the indicated property to the given string if the property has not yet been set.
Parameters:
-
key The property key.
val String to set the property to.
Returns:
- ECORE_CONFIG_ERR_SUCC if there were no problems.
References ECORE_CONFIG_STR.
Referenced by ecore_config_init(), and ecore_config_theme_search_path_get().
EAPI int ecore_config_theme_default (const char * key, const char * val)
Sets the indicated property to a theme name if the property has not yet been set.
Parameters:
-
key The property key.
val String giving the name of the theme.
Returns:
- ECORE_CONFIG_ERR_SUCC if the property is set successfully.
Author
Generated automatically by Doxygen for Ecore from the source code.