Grx.Application.prototype.set_quit_on_signal

function set_quit_on_signal(value: Boolean): void {
    // Gjs wrapper for grx_application_set_quit_on_signal()
}
  

Sets the "quit-on-signal" property value.

value

true will cause the application to queue a Grx.EventType.app_quit event when SIGHUP, SIGINT or SIGTERM is received. false will remove the signal handlers.