At times, it is desirable to block a widget from being redisplayed for a short period of time. For example, during the process of inserting 100 items into a listbox, one usually don't want the list box be refreshed 100 times, but rather, be updated only once after the last item has been inserted. The EZ widget library provides a pair of routines to temporarily block a widget from being redisplayed.
void EZ_FreezeWidget(EZ_Widget *widget)
This function freeze a widget. A freezed widget will handle no events,
including the Expose
event.
void EZ_UnFreezeWidget(EZ_Widget *widget)
This function un-freeze a freezed widget. It has no effects if widget is not currently freezed.