ConnectFlags

public struct ConnectFlags : OptionSet

The connection flags are used to specify the behaviour of a signal’s connection.

  • 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 GConnectFlags enum value

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public init(_ enumValue: GConnectFlags)
  • 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)
  • whether the handler should be called before or after the default handler of the signal.

    Declaration

    Swift

    public static let after: ConnectFlags
  • whether the instance and data should be swapped when calling the handler; see g_signal_connect_swapped() for an example.

    Declaration

    Swift

    public static let swapped: ConnectFlags