ApplicationInhibitFlags
public struct ApplicationInhibitFlags : OptionSet
Types of user actions that may be blocked by GtkApplication.
See [methodGtk.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 } -
The equivalent raw
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GtkApplicationInhibitFlagsenum valueDeclaration
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
GtkApplicationInhibitFlagsenum valueDeclaration
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
View on GitHub
Install in Dash
ApplicationInhibitFlags Structure Reference