efl.eo.Eo
Class¶
- class efl.eo.Eo(*args, **kwargs)¶
Bases:
object
Base class used by all the object in the EFL.
- delete()¶
Decrease internal reference count and delete the object gracefully
Note
Reference count will be decreased at the del callback, not instantly when calling this. Same for setting the internal object pointer to NULL and freeing any internal resources.
Note
This will not automatically free the Python object, only the wrapped C object. This will prevent you from calling methods other than
is_deleted()
and accessing properties on the object. The Python object will be automatically freed by Python when there are no more references to it.
- event_freeze()¶
Pause event propagation for this object.
- event_freeze_count_get()¶
Get the event freeze count for this object.
- Returns
the freeze count
- Return type
int
- event_thaw()¶
Restart event propagation for this object.
- is_deleted()¶
Check if the object has been deleted thus leaving the object shallow.
- Returns
True if the object has been deleted yet, False otherwise.
- Return type
bool
- parent_get()¶
- parent_set(parent)¶