SignalMatchType

public struct SignalMatchType : OptionSet

The match types specify what g_signal_handlers_block_matched(), g_signal_handlers_unblock_matched() and g_signal_handlers_disconnect_matched() match signals by.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    public var int: gint { get set }
  • The equivalent underlying GSignalMatchType enum value

    Declaration

    Swift

    public var value: GSignalMatchType { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    public init(rawValue: UInt32)
  • Creates a new instance with the specified GSignalMatchType enum value

    Declaration

    Swift

    public init(_ enumValue: GSignalMatchType)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    public init(_ intValue: Int)
  • Creates a new instance with the specified gint value

    Declaration

    Swift

    public init(_ gintValue: gint)
  • id

    The signal id must be equal.

    Declaration

    Swift

    public static let id: SignalMatchType
  • The signal detail must be equal.

    Declaration

    Swift

    public static let detail: SignalMatchType
  • The closure must be the same.

    Declaration

    Swift

    public static let closure: SignalMatchType
  • The C closure callback must be the same.

    Declaration

    Swift

    public static let `func`: SignalMatchType
  • The closure data must be the same.

    Declaration

    Swift

    public static let data: SignalMatchType
  • Only unblocked signals may be matched.

    Declaration

    Swift

    public static let unblocked: SignalMatchType
  • The C closure callback must be the same.

    Declaration

    Swift

    @available(*, deprecated)
    public static let func_: SignalMatchType