Functions | |
EAPI Ecore_Config_Prop * | ecore_config_get (const char *key) |
Returns the property with the given key. | |
EAPI char * | ecore_config_string_get (const char *key) |
Returns the specified property as a string. | |
EAPI int | ecore_config_boolean_get (const char *key) |
Returns the specified property as an integer. | |
EAPI long | ecore_config_int_get (const char *key) |
Returns the specified property as a long integer. | |
EAPI float | ecore_config_float_get (const char *key) |
Returns the specified property as a float. | |
EAPI int | ecore_config_argb_get (const char *key, int *a, int *r, int *g, int *b) |
Finds the alpha, red, green and blue values of a color property. | |
EAPI long | ecore_config_argbint_get (const char *key) |
Returns a color property as a long. | |
EAPI char * | ecore_config_argbstr_get (const char *key) |
Returns a color property as a string of hexadecimal characters. | |
EAPI char * | ecore_config_theme_get (const char *key) |
Returns a theme property. | |
EAPI char * | ecore_config_as_string_get (const char *key) |
Retrieves the key as a string. |
EAPI int ecore_config_argb_get | ( | const char * | key, | |
int * | a, | |||
int * | r, | |||
int * | g, | |||
int * | b | |||
) |
Finds the alpha, red, green and blue values of a color property.
key | The property key. | |
a | A pointer to an integer to store the alpha value into. | |
r | A pointer to an integer to store the red value into. | |
g | A pointer to an integer to store the green value into. | |
b | A pointer to an integer to store the blue value into. |
ECORE_CONFIG_ERR_SUCC
on success. ECORE_CONFIG_ERR_FAIL
otherwise. EAPI long ecore_config_argbint_get | ( | const char * | key | ) |
Returns a color property as a long.
key | The property key. |
EAPI char* ecore_config_argbstr_get | ( | const char * | key | ) |
Returns a color property as a string of hexadecimal characters.
key | The property key. |
EAPI char* ecore_config_as_string_get | ( | const char * | key | ) |
Retrieves the key as a string.
key | The property key. |
NULL
is returned if the property does not exist. EAPI int ecore_config_boolean_get | ( | const char * | key | ) |
Returns the specified property as an integer.
key | The property key. |
EAPI float ecore_config_float_get | ( | const char * | key | ) |
Returns the specified property as a float.
key | The property key. |
EAPI Ecore_Config_Prop* ecore_config_get | ( | const char * | key | ) |
Returns the property with the given key.
key | The unique name of the wanted property. |
NULL
if the key could not be found. EAPI long ecore_config_int_get | ( | const char * | key | ) |
Returns the specified property as a long integer.
key | The property key. |
EAPI char* ecore_config_string_get | ( | const char * | key | ) |
Returns the specified property as a string.
key | The property key. |
NULL
if the property is not a string or is not set. EAPI char* ecore_config_theme_get | ( | const char * | key | ) |
Returns a theme property.
key | The property key. |
NULL
if the property is not a theme or is not set.