SizeRequestMode

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Prefer height-for-width geometry management

    Declaration

    Swift

    static let heightForWidth: GtkSizeRequestMode
  • Prefer width-for-height geometry management

    Declaration

    Swift

    static let widthForHeight: GtkSizeRequestMode
  • Don’t trade height-for-width or width-for-height

    Declaration

    Swift

    static let constantSize: GtkSizeRequestMode