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
gintvalueDeclaration
Swift
@inlinable public var int: gint { get set } -
The equivalent underlying
GtkIconLookupFlagsenum 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
GtkIconLookupFlagsenum 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 -
Never get SVG icons, even if gdk-pixbuf supports them. Cannot be used together with
GTK_ICON_LOOKUP_FORCE_SVG.Declaration
Swift
public static let noSvg: IconLookupFlags -
Get SVG icons, even if gdk-pixbuf doesn’t support them. Cannot be used together with
GTK_ICON_LOOKUP_NO_SVG.Declaration
Swift
public static let forceSvg: IconLookupFlags -
When passed to
gtk_icon_theme_lookup_icon()includes builtin icons as well as files. For a builtin icon,gtk_icon_info_get_filename()isniland you need to callgtk_icon_info_get_builtin_pixbuf().Declaration
Swift
public static let useBuiltin: IconLookupFlags -
Try to shorten icon name at ‘-’ characters before looking at inherited themes. This flag is only supported in functions that take a single icon name. For more general fallback, see
gtk_icon_theme_choose_icon(). Since 2.12.Declaration
Swift
public static let genericFallback: IconLookupFlags -
Always get the icon scaled to the requested size. Since 2.14.
Declaration
Swift
public static let forceSize: IconLookupFlags -
Try to always load regular icons, even when symbolic icon names are given. Since 3.14.
Declaration
Swift
public static let forceRegular: IconLookupFlags -
Try to always load symbolic icons, even when regular icon names are given. Since 3.14.
Declaration
Swift
public static let forceSymbolic: IconLookupFlags -
Try to load a variant of the icon for left-to-right text direction. Since 3.14.
Declaration
Swift
public static let dirLtr: IconLookupFlags -
Try to load a variant of the icon for right-to-left text direction. Since 3.14.
Declaration
Swift
public static let dirRtl: IconLookupFlags
View on GitHub
Install in Dash
IconLookupFlags Structure Reference