ApplicationInhibitFlags

public struct ApplicationInhibitFlags : OptionSet

Types of user actions that may be blocked by gtk_application_inhibit().

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkApplicationInhibitFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: GtkApplicationInhibitFlags { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    @inlinable
    public init(rawValue: UInt32)
  • Creates a new instance with the specified GtkApplicationInhibitFlags enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GtkApplicationInhibitFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Inhibit ending the user session by logging out or by shutting down the computer

    Declaration

    Swift

    public static let logout: ApplicationInhibitFlags
  • Inhibit user switching

    Declaration

    Swift

    public static let `switch`: ApplicationInhibitFlags
  • Inhibit suspending the session or computer

    Declaration

    Swift

    public static let suspend: ApplicationInhibitFlags
  • Inhibit the session being marked as idle (and possibly locked)

    Declaration

    Swift

    public static let idle: ApplicationInhibitFlags