Application.registerSession

Set registerSession property.

  1. bool registerSession [@property getter]
  2. bool registerSession [@property setter]
    class Application
    @property
    void
    registerSession
    (
    bool propval
    )

Parameters

propval bool

Set this property to TRUE to register with the session manager.

This will make GTK track the session state (such as the property@Gtk.Application:screensaver-active property).