MessageType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Informational message

    Declaration

    Swift

    static let info: GtkMessageType
  • Non-fatal warning message

    Declaration

    Swift

    static let warning: GtkMessageType
  • Question requiring a choice

    Declaration

    Swift

    static let question: GtkMessageType
  • Fatal error message

    Declaration

    Swift

    static let error: GtkMessageType
  • None of the above

    Declaration

    Swift

    static let other: GtkMessageType