DialogFlags

public struct DialogFlags : OptionSet

Flags used to influence dialog construction.

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • Make the constructed dialog modal

    Declaration

    Swift

    public static let modal: DialogFlags
  • Destroy the dialog when its parent is destroyed

    Declaration

    Swift

    public static let destroyWithParent: DialogFlags
  • Create dialog with actions in header bar instead of action area

    Declaration

    Swift

    public static let useHeaderBar: DialogFlags