PopoverMenuFlags
public struct PopoverMenuFlags : OptionSet
Flags that affect how popover menus are created from a menu model.
-
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
GtkPopoverMenuFlagsenum valueDeclaration
Swift
@inlinable public var value: GtkPopoverMenuFlags { 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
GtkPopoverMenuFlagsenum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkPopoverMenuFlags) -
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger -
Create submenus as nested popovers. Without this flag, submenus are created as sliding pages that replace the main menu.
Declaration
Swift
public static let nested: PopoverMenuFlags
View on GitHub
Install in Dash
PopoverMenuFlags Structure Reference