Package: gtk

Accessor gtk:application-register-session

Lambda List

gtk:application-register-session (object)

Syntax

(gtk:application-register-session object) => setting
(setf (gtk:application-register-session object) setting)

Arguments

object -- a gtk:application instance
setting -- a boolean whether to register with the session manager

Details

The accessor for the register-session slot gets or sets whether to register with the session manager. Set this property to true to register with the session mananger. This will make GTK track the session state, such as the screensaver-active property.

Warning

This function is deprecated since 4.22. GTK always registers with the sesstion manager.
 

See also

2026-07-10