TargetFlags

public struct TargetFlags : OptionSet

The GtkTargetFlags enumeration is used to specify constraints on a GtkTargetEntry.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GtkTargetFlags enum value

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • If this is set, the target will only be selected for drags within a single application.

    Declaration

    Swift

    public static let sameApp: TargetFlags
  • If this is set, the target will only be selected for drags within a single widget.

    Declaration

    Swift

    public static let sameWidget: TargetFlags
  • If this is set, the target will not be selected for drags within a single application.

    Declaration

    Swift

    public static let otherApp: TargetFlags
  • If this is set, the target will not be selected for drags withing a single widget.

    Declaration

    Swift

    public static let otherWidget: TargetFlags