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. |
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.
key | The property key. | |
a | integer 0..255 | |
r | integer 0..255 | |
g | integer 0..255 | |
b | integer 0..255 |
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.
key | The property key. | |
argb | ARGB data as long |
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.
key | The property key. | |
val | Color value in ARGB format. |
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.
key | The property key. | |
val | Boolean Integer to set the value to. |
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.
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. |
ECORE_CONFIG_ERR_SUCC
if there are no errors. lo
, hi
and step
parameters are only used when storing integer and float properties. 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.
key | The property key. | |
val | Float to set the property to. |
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.
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. |
ECORE_CONFIG_ERR_SUCC
if there were no problems. 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.
key | The property key. | |
val | Integer to set the value to. |
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.
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. |
ECORE_CONFIG_ERR_SUCC
if there were no problems. 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.
key | The property key. | |
val | String to set the property to. |
ECORE_CONFIG_ERR_SUCC
if there were no problems. 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.
key | The property key. | |
val | String giving the name of the theme. |
ECORE_CONFIG_ERR_SUCC
if the property is set successfully.