Event Freezing Functions
[Canvas 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. |
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.
This function will indicate to evas that the canvas 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 void evas_event_thaw | ( | Evas * | e | ) |
Thaw a canvas out after freezing.
- Parameters:
-
e The canvas to thaw out.
This will thaw out a canvas after a matching evas_event_freeze() call. If this call completely thaws out a canvas, events will start being processed again after this call, but this call will not invole any "missed" events to be evaluated.
See evas_event_freeze() for an example.