ShortcutActionFlags
public struct ShortcutActionFlags : OptionSet
List of flags that can be passed to action activation.
More flags may be added in the future.
-
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
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GtkShortcutActionFlags
enum valueDeclaration
Swift
@inlinable public var value: GtkShortcutActionFlags { 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
GtkShortcutActionFlags
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkShortcutActionFlags)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
The action is the only action that can be activated. If this flag is not set, a future activation may select a different action.
Declaration
Swift
public static let exclusive: ShortcutActionFlags