Package: gio

Accessor g-application-inactivity-timeout

Lambda List

g-application-inactivity-timeout (object)

Syntax

(g-application-inactivity-timeout object) => timeout
(setf (g-application-inactivity-timeout object) timeout)

Arguments

object -- a g-application instance
timeout -- an unsigned integer with the timeout in milliseconds

Details

Accessor of the inactivity-timeout slot of the g-application class.

The g-application-inactivity-timeout slot access function gets the current inactivity timeout for the application. The (setf g-application-inactivity-timeout) slot access function sets the inactivity timeout.

This is the amount of time in milliseconds after the last call to the g-application-release function before the application stops running. This call has no side effects of its own. The value set here is only used for next time the g-application-release function drops the use count to zero. Any timeouts currently in progress are not impacted.
 

See also

*2021-10-13