Gio.Application.prototype.get_inactivity_timeout

function get_inactivity_timeout(): Number(guint) {
    // Gjs wrapper for g_application_get_inactivity_timeout()
}
  

Gets the current inactivity timeout for the application.

This is the amount of time (in milliseconds) after the last call to Gio.Application.prototype.release before the application stops running.

Since 2.28

Returns

the timeout, in milliseconds