Application.hold

void hold()

Increases the use count of application.

Use this function to indicate that the application has a reason to continue to run. For example, [gio.application.Application.hold] is called by GTK when a toplevel window is on the screen.

To cancel the hold, call [gio.application.Application.release].