TreeModelFlags

public struct TreeModelFlags : OptionSet

These flags indicate various properties of a GtkTreeModel.

They are returned by gtk_tree_model_get_flags(), and must be static for the lifetime of the object. A more complete description of GTK_TREE_MODEL_ITERS_PERSIST can be found in the overview of this section.

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • iterators survive all signals emitted by the tree

    Declaration

    Swift

    public static let itersPersist: TreeModelFlags
  • the model is a list only, and never has children

    Declaration

    Swift

    public static let listOnly: TreeModelFlags