Download

Support

Ecore Config Setters

Functions that set the value of a property. More...


Functions

EAPI int ecore_config_set (const char *key, const char *val)
 Sets the indicated property to the value indicated by val.
EAPI int ecore_config_as_string_set (const char *key, const char *val)
 Sets the indicated property to the value given in the string.
EAPI int ecore_config_boolean_set (const char *key, int val)
 Sets the indicated property to the given boolean.
EAPI int ecore_config_int_set (const char *key, int val)
 Sets the indicated property to the given integer.
EAPI int ecore_config_string_set (const char *key, const char *val)
 Sets the indicated property to the given string.
EAPI int ecore_config_float_set (const char *key, float val)
 Sets the indicated property to the given float value.
EAPI int ecore_config_argb_set (const char *key, int a, int r, int g, int b)
 Sets the indicated property to a color value.
EAPI int ecore_config_argbint_set (const char *key, long argb)
 Sets the indicated property to a color value.
EAPI int ecore_config_argbstr_set (const char *key, const char *val)
 Sets the indicated property to a color value.
EAPI int ecore_config_theme_set (const char *key, const char *val)
 Sets the indicated property to a theme name.
EAPI int ecore_config_theme_preview_group_set (const char *key, const char *group)
 Sets the theme preview group of an indicated property.

Detailed Description

Functions that set the value of a property.

Function Documentation

EAPI int ecore_config_argb_set ( const char *  key,
int  a,
int  r,
int  g,
int  b 
)

Sets the indicated property to a color value.

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 the property is set successfully.

References ECORE_CONFIG_RGB, and ecore_config_typed_set().

EAPI int ecore_config_argbint_set ( const char *  key,
long  argb 
)

Sets the indicated property to a color value.

Parameters:
key The property key
argb ARGB data as long
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_RGB, and ecore_config_typed_set().

EAPI int ecore_config_argbstr_set ( const char *  key,
const char *  val 
)

Sets the indicated property to a color value.

Parameters:
key The property key
val Color value in ARGB format.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_RGB, and ecore_config_typed_set().

EAPI int ecore_config_as_string_set ( const char *  key,
const char *  val 
)

Sets the indicated property to the value given in the string.

Parameters:
key The property key.
val String representation of the value.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ecore_config_set().

EAPI int ecore_config_boolean_set ( const char *  key,
int  val 
)

Sets the indicated property to the given boolean.

Parameters:
key The property key.
val Boolean integer to set the property to.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_BLN, and ecore_config_typed_set().

EAPI int ecore_config_float_set ( const char *  key,
float  val 
)

Sets the indicated property to the given float value.

Parameters:
key The property key.
val Float to set the property to.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_FLT, and ecore_config_typed_set().

EAPI int ecore_config_int_set ( const char *  key,
int  val 
)

Sets the indicated property to the given integer.

Parameters:
key The property key.
val Integer to set the property to.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_INT, and ecore_config_typed_set().

EAPI int ecore_config_set ( const char *  key,
const char *  val 
)

Sets the indicated property to the value indicated by val.

Parameters:
key The property key.
val String representation of value to set.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_BLN, ECORE_CONFIG_FLT, ECORE_CONFIG_INT, ECORE_CONFIG_RGB, and ecore_config_typed_set().

Referenced by ecore_config_as_string_set().

EAPI int ecore_config_string_set ( const char *  key,
const char *  val 
)

Sets the indicated property to the given string.

Parameters:
key The property key.
val String to set the property to.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_STR, and ecore_config_typed_set().

Referenced by ecore_config_theme_search_path_append().

EAPI int ecore_config_theme_preview_group_set ( const char *  key,
const char *  group 
)

Sets the theme preview group of an indicated property.

Parameters:
key The property key.
group The group name.
Returns:
ECORE_CONFIG_ERR_SUCC on success.

References Ecore_Config_Prop::data, ecore_config_get(), and ECORE_CONFIG_THM.

EAPI int ecore_config_theme_set ( const char *  key,
const char *  val 
)

Sets the indicated property to a theme name.

Parameters:
key The property key.
val String giving the name of the theme.
Returns:
ECORE_CONFIG_ERR_SUCC if the property is set successfully.

References ECORE_CONFIG_THM, and ecore_config_typed_set().


Copyright © Enlightenment.org

Ecore Documentation Generated: Sat Nov 6 05:12:27 2010