Evas Event Freezing Functions
Functions that deal with the freezing of event processing of an evas. More...Functions | |
| EAPI void | evas_event_freeze (Evas *e) |
| Freeze all event processing. | |
| EAPI void | evas_event_thaw (Evas *e) |
| Thaw a canvas out after freezing. | |
| EAPI int | evas_event_freeze_get (const Evas *e) |
| Return the freeze count of a given canvas. | |
Detailed Description
Functions that deal with the freezing of event processing of an evas.
Function Documentation
| EAPI void evas_event_freeze | ( | Evas * | e | ) |
Freeze all event processing.
- Parameters:
-
e The canvas to freeze event processing on
e is to have all event processing frozen until a matching evas_event_thaw() function is called on the same canvas. Every freeze call must be matched by a thaw call in order to completely thaw out a canvas.Example:
extern Evas *evas; extern Evas_Object *object; evas_event_freeze(evas); evas_object_move(object, 50, 100); evas_object_resize(object, 200, 200); evas_event_thaw(evas);
| EAPI int evas_event_freeze_get | ( | const Evas * | e | ) |
Return the freeze count of a given canvas.
- Parameters:
-
e The canvas to fetch the freeze count from
Example:
extern Evas *evas; while (evas_event_freeze_get(evas) > 0) evas_event_thaw(evas);
| EAPI void evas_event_thaw | ( | Evas * | e | ) |
Thaw a canvas out after freezing.
- Parameters:
-
e The canvas to thaw out
See evas_event_freeze() for an example.