ButtonRole

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • A plain button

    Declaration

    Swift

    static let normal: GtkButtonRole
  • A check button

    Declaration

    Swift

    static let check: GtkButtonRole
  • A radio button

    Declaration

    Swift

    static let radio: GtkButtonRole