UIManagerItemType
public struct UIManagerItemType : OptionSet
These enumeration values are used by gtk_ui_manager_add_ui()
to determine
what UI element to create.
UIManagerItemType is deprecated: This method is deprecated.
-
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
GtkUIManagerItemType
enum valueDeclaration
Swift
@inlinable public var value: GtkUIManagerItemType { 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
GtkUIManagerItemType
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkUIManagerItemType)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
Pick the type of the UI element according to context.
Declaration
Swift
public static let auto: UIManagerItemType
-
Create a menubar.
Declaration
Swift
public static let menubar: UIManagerItemType
-
Create a menu.
Declaration
Swift
public static let menu: UIManagerItemType
-
Create a toolbar.
Declaration
Swift
public static let toolbar: UIManagerItemType
-
Insert a placeholder.
Declaration
Swift
public static let placeholder: UIManagerItemType
-
Create a popup menu.
Declaration
Swift
public static let popup: UIManagerItemType
-
Create a menuitem.
Declaration
Swift
public static let menuitem: UIManagerItemType
-
Create a toolitem.
Declaration
Swift
public static let toolitem: UIManagerItemType
-
Create a separator.
Declaration
Swift
public static let separator: UIManagerItemType
-
Install an accelerator.
Declaration
Swift
public static let accelerator: UIManagerItemType
-
Same as
GTK_UI_MANAGER_POPUP
, but the actions’ accelerators are shown.Declaration
Swift
public static let popupWithAccels: UIManagerItemType