@gtkx/ffi / freeze
Function: freeze()
freeze():
void
Defined in: packages/ffi/src/native.ts:167
Freezes the GLib main loop, preventing it from processing events.
While frozen, GTK property changes and signal emissions are batched and deferred until unfreeze is called. This is used internally by the reconciler to group multiple mutations into a single main-loop iteration, avoiding intermediate redraws.
Returns
void