Grx.Application.quit_on_signal

Application.quit_on_signal: Boolean (Read / Write / Construct)
  

Gets or sets if the application should queue a Grx.EventType.app_quit event when SIGHUP, SIGINT or SIGTERM is received.

The default behavior is for an application to quit when any of these signals are received.