FontChooserLevel
public struct FontChooserLevel : OptionSet
This enumeration specifies the granularity of font selection that is desired in a font chooser.
This enumeration may be extended in the future; applications should ignore unknown values.
-
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
GtkFontChooserLevel
enum valueDeclaration
Swift
@inlinable public var value: GtkFontChooserLevel { 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
GtkFontChooserLevel
enum valueDeclaration
Swift
@inlinable public init(_ enumValue: GtkFontChooserLevel)
-
Creates a new instance with the specified Int value
Declaration
Swift
@inlinable public init<I>(_ intValue: I) where I : BinaryInteger
-
Allow selecting a font family
Declaration
Swift
public static let family: FontChooserLevel
-
Allow selecting a specific font face
Declaration
Swift
public static let style: FontChooserLevel
-
Allow selecting a specific font size
Declaration
Swift
public static let size: FontChooserLevel
-
Undocumented
Declaration
Swift
public static let variations: FontChooserLevel
-
Allow selecting specific OpenType font features
Declaration
Swift
public static let features: FontChooserLevel