FontChooserLevel

public struct FontChooserLevel : OptionSet

Specifies the granularity of font selection that is desired in a GtkFontChooser.

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 }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkFontChooserLevel enum value

    Declaration

    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 value

    Declaration

    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
  • Allow changing OpenType font variation axes

    Declaration

    Swift

    public static let variations: FontChooserLevel
  • Allow selecting specific OpenType font features

    Declaration

    Swift

    public static let features: FontChooserLevel