ToolbarStyle

public extension ToolbarStyle
  • Cast constructor, converting any binary integer to a ToolbarStyle.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Buttons display only icons in the toolbar.

    Declaration

    Swift

    static let icons: GtkToolbarStyle
  • Buttons display only text labels in the toolbar.

    Declaration

    Swift

    static let text: GtkToolbarStyle
  • Buttons display text and icons in the toolbar.

    Declaration

    Swift

    static let both: GtkToolbarStyle
  • Buttons display icons and text alongside each other, rather than vertically stacked

    Declaration

    Swift

    static let bothHoriz: GtkToolbarStyle