Align

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • stretch to fill all space if possible, center if no meaningful way to stretch

    Declaration

    Swift

    static let fill: GtkAlign
  • snap to left or top side, leaving space on right or bottom

    Declaration

    Swift

    static let start: GtkAlign
  • end

    snap to right or bottom side, leaving space on left or top

    Declaration

    Swift

    static let end: GtkAlign
  • center natural width of widget inside the allocation

    Declaration

    Swift

    static let center: GtkAlign
  • align the widget according to the baseline. Since 3.10.

    Declaration

    Swift

    static let baseline: GtkAlign