BuilderClosureFlags

public struct BuilderClosureFlags : OptionSet

The list of flags that can be passed to gtk_builder_create_closure().

New values may be added in the future for new features, so external implementations of [ifaceGtk.BuilderScope] should test the flags for unknown values and raise a GTK_BUILDER_ERROR_INVALID_ATTRIBUTE error when they encounter one.

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

    Declaration

    Swift

    @inlinable
    public var value: GtkBuilderClosureFlags { 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 GtkBuilderClosureFlags enum value

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • The closure should be created swapped. See g_cclosure_new_swap() for details.

    Declaration

    Swift

    public static let swapped: BuilderClosureFlags