Package: gtk

GFlags gtk:application-inhibit-flags

Declaration

(gobject:define-gflags "GtkApplicationInhibitFlags" 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)))  

Values

: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.

Details

Types of user actions that may be blocked by a gtk:application instance. See the gtk:application-inhibit function.
 

See also

2024-10-7