AccelFlags

public struct AccelFlags : OptionSet

Accelerator flags used with gtk_accel_group_connect().

  • 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 GtkAccelFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: GtkAccelFlags { 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 GtkAccelFlags enum value

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Accelerator is visible

    Declaration

    Swift

    public static let visible: AccelFlags
  • Accelerator not removable

    Declaration

    Swift

    public static let locked: AccelFlags
  • Mask

    Declaration

    Swift

    public static let mask: AccelFlags