Functions | |
| EAPI int | ecore_config_listen (const char *name, const char *key, Ecore_Config_Listener listener, int tag, void *data) |
| Adds a callback function to the list of functions called when a property changes. | |
| EAPI int | ecore_config_deaf (const char *name, const char *key, Ecore_Config_Listener listener) |
| Removes a listener callback. | |
| EAPI int ecore_config_deaf | ( | const char * | name, | |
| const char * | key, | |||
| Ecore_Config_Listener | listener | |||
| ) |
Removes a listener callback.
| name | Name of the callback to remove. | |
| key | The property key the callback is listening to. | |
| listener | The callback function to remove. |
ECORE_CONFIG_ERR_SUCC if successful in removing the callback. If no callback matches the given parameters, then ECORE_CONFIG_ERR_NOTFOUND is returned. If NULL is passed for the key pointer, ECORE_CONFIG_ERR_NODATA is returned. | EAPI int ecore_config_listen | ( | const char * | name, | |
| const char * | key, | |||
| Ecore_Config_Listener | listener, | |||
| int | tag, | |||
| void * | data | |||
| ) |
Adds a callback function to the list of functions called when a property changes.
| name | Name of the callback. | |
| key | The key of the property to listen to. | |
| listener | Listener callback function. | |
| tag | Tag to pass to listener when it is called. | |
| data | Data to pass to listener when it is called. |
ECORE_CONFIG_ERR_SUCC if successful in setting up the callback.