Input Events Freezing Functions

Functions that deal with the freezing of input event processing of an Evas canvas.

Functions that deal with the freezing of input event processing of an Evas canvas.

There might be scenarios during a graphical user interface program's use when the developer wishes the users wouldn't be able to deliver input events to this application. It may, for example, be the time for it to populate a view or to change some layout. Assuming proper behavior with user interaction during this exact time would be hard, as things are in a changing state. The programmer can then tell the canvas to ignore input events, bringing it back to normal behavior when he/she wants.

Most of the time use of freezing events is done like this:

evas_event_freeze(my_evas_canvas);
function_that_does_work_that_cant_be_interrupted_by_events();
evas_event_thaw(my_evas_canvas);
EVAS_API void evas_event_freeze(Evas *eo_e)
Freeze all input events processing.
Definition: evas_events.c:1540
EVAS_API void evas_event_thaw(Evas *e)
Thaw a canvas out after freezing (for input events).
Definition: evas_events.c:1546

Some of the functions in this group are exemplified here.