SpinButtonUpdatePolicy

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • When refreshing your GtkSpinButton, the value is always displayed

    Declaration

    Swift

    static let always: GtkSpinButtonUpdatePolicy
  • When refreshing your GtkSpinButton, the value is only displayed if it is valid within the bounds of the spin button’s adjustment

    Declaration

    Swift

    static let ifValid: GtkSpinButtonUpdatePolicy