IconLookupFlags
public struct IconLookupFlags : OptionSet
Used to specify options for gtk_icon_theme_lookup_icon()
.
-
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
GtkIconLookupFlags
enum valueDeclaration
Swift
@inlinable public var value: GtkIconLookupFlags { 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
GtkIconLookupFlags
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkIconLookupFlags)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
Try to always load regular icons, even when symbolic icon names are given
Declaration
Swift
public static let forceRegular: IconLookupFlags
-
Try to always load symbolic icons, even when regular icon names are given
Declaration
Swift
public static let forceSymbolic: IconLookupFlags
-
Starts loading the texture in the background so it is ready when later needed.
Declaration
Swift
public static let preload: IconLookupFlags