API Reference / @gtkx/react / index / quit
Variable: quit
constquit: () => typeofGdk.EVENT_PROPAGATE| typeofGdk.EVENT_STOP
Defined in: reconciler/root.d.ts:48
Unmounts every render root that currently holds a mounted tree.
Returns
typeof Gdk.EVENT_PROPAGATE | typeof Gdk.EVENT_STOP
Gdk.EVENT_STOP when at least one root came down, so a close-request handler keeps GTK4 from closing the window itself, and Gdk.EVENT_PROPAGATE when there was nothing to unmount, so the default handler still runs.