ConstraintStrength

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The constraint is required towards solving the layout

    Declaration

    Swift

    static let required: GtkConstraintStrength
  • A strong constraint

    Declaration

    Swift

    static let strong: GtkConstraintStrength
  • A medium constraint

    Declaration

    Swift

    static let medium: GtkConstraintStrength
  • A weak constraint

    Declaration

    Swift

    static let weak: GtkConstraintStrength