Package: gtk

GFlags gtk-application-inhibit-flags

Details

Types of user actions that may be blocked by the gtk-application-inhibit function.
(define-g-flags "GtkApplicationInhibitFlags" gtk-application-inhibit-flags
  (:export t
   :type-initializer "gtk_application_inhibit_flags_get_type")
  (:logout  #.(ash 1 0))
  (:switch  #.(ash 1 1))
  (:suspend #.(ash 1 2))
  (:idle    #.(ash 1 3)))  
:logout
Inhibit ending the user session by logging out or by shutting down the computer.
:switch
Inhibit user switching.
:suspend
Inhibit suspending the session or computer.
:idle
Inhibit the session being marked as idle and possibly locked.
 

See also

*2021-10-11