Object Name Function
Functions that retrieve and set the name of an evas object. More...Functions | |
EAPI void | evas_object_name_set (Evas_Object *obj, const char *name) |
Sets the name of the given evas object to the given name. | |
EAPI const char * | evas_object_name_get (const Evas_Object *obj) |
Retrieves the name of the given evas object. | |
EAPI Evas_Object * | evas_object_name_find (const Evas *e, const char *name) |
Retrieves the object on the given evas with the given name. |
Detailed Description
Functions that retrieve and set the name of an evas object.
Function Documentation
EAPI Evas_Object* evas_object_name_find | ( | const Evas * | e, | |
const char * | name | |||
) |
Retrieves the object on the given evas with the given name.
- Parameters:
-
e The given evas. name The given name.
- Returns:
- If successful, the evas object with the given name. Otherwise,
NULL
.
References evas_hash_find().
EAPI const char* evas_object_name_get | ( | const Evas_Object * | obj | ) |
Retrieves the name of the given evas object.
- Parameters:
-
obj The given object.
- Returns:
- The name of the object.
NULL
if no name has been given to the object.
EAPI void evas_object_name_set | ( | Evas_Object * | obj, | |
const char * | name | |||
) |
Sets the name of the given evas object to the given name.
- Parameters:
-
obj The given object. name The given name.
References evas_hash_add(), and evas_hash_del().
Referenced by evas_object_del().