GtkApplicationInhibitFlags

Types of user actions that may be blocked by gtk_application_inhibit(). GTK_APPLICATION_INHIBIT_LOGOUT Inhibit ending the user session by logging out or by shutting down the computer GTK_APPLICATION_INHIBIT_SWITCH Inhibit user switching GTK_APPLICATION_INHIBIT_SUSPEND Inhibit suspending the session or computer GTK_APPLICATION_INHIBIT_IDLE Inhibit the session being marked as idle (and possibly locked) Since 3.4

Values

ValueMeaning
LOGOUT(1 << 0)
SWITCH(1 << 1)
SUSPEND(1 << 2)
IDLE(1 << 3)

Meta