TreeViewColumnProtocol

public protocol TreeViewColumnProtocol : InitiallyUnownedProtocol, BuildableProtocol, CellLayoutProtocol

The GtkTreeViewColumn object represents a visible column in a GtkTreeView widget. It allows to set properties of the column header, and functions as a holding pen for the cell renderers which determine how the data in the column is displayed.

Please refer to the tree widget conceptual overview for an overview of all the objects and data types related to the tree widget and how they work together.

The TreeViewColumnProtocol protocol exposes the methods and properties of an underlying GtkTreeViewColumn instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see TreeViewColumn. Alternatively, use TreeViewColumnRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkTreeViewColumn instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • tree_view_column_ptr Default implementation

    Typed pointer to the underlying GtkTreeViewColumn instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkTreeViewColumn instance.

    Declaration

    Swift

    var tree_view_column_ptr: UnsafeMutablePointer<GtkTreeViewColumn>! { get }
  • Required Initialiser for types conforming to TreeViewColumnProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)

TreeViewColumn Class

  • Bind a TreeViewColumnPropertyName source property to a given target object.

    Declaration

    Swift

    @discardableResult
    @inlinable
    func bind<Q, T>(property source_property: TreeViewColumnPropertyName, to target: T, _ target_property: Q, flags f: BindingFlags = .default, transformFrom transform_from: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }, transformTo transform_to: @escaping GLibObject.ValueTransformer = { $0.transform(destValue: $1) }) -> BindingRef! where Q : PropertyNameProtocol, T : ObjectProtocol

    Parameters

    source_property

    the source property to bind

    target

    the target object to bind to

    target_property

    the target property to bind to

    flags

    the flags to pass to the Binding

    transform_from

    ValueTransformer to use for forward transformation

    transform_to

    ValueTransformer to use for backwards transformation

    Return Value

    binding reference or nil in case of an error

  • get(property:) Extension method

    Get the value of a TreeViewColumn property

    Declaration

    Swift

    @inlinable
    func get(property: TreeViewColumnPropertyName) -> GLibObject.Value

    Parameters

    property

    the property to get the value for

    Return Value

    the value of the named property

  • set(property:value:) Extension method

    Set the value of a TreeViewColumn property. Note that this will only have an effect on properties that are writable and not construct-only!

    Declaration

    Swift

    @inlinable
    func set(property: TreeViewColumnPropertyName, value v: GLibObject.Value)

    Parameters

    property

    the property to get the value for

    Return Value

    the value of the named property

TreeViewColumn signals

  • Connect a Swift signal handler to the given, typed TreeViewColumnSignalName signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func connect(signal s: TreeViewColumnSignalName, flags f: ConnectFlags = ConnectFlags(0), handler h: @escaping SignalHandler) -> Int

    Parameters

    signal

    The signal to connect

    flags

    The connection flags to use

    data

    A pointer to user data to provide to the callback

    destroyData

    A GClosureNotify C function to destroy the data pointed to by userData

    handler

    The Swift signal handler (function or callback) to invoke on the given signal

    Return Value

    The signal handler ID (always greater than 0 for successful connections)

  • Connect a C signal handler to the given, typed TreeViewColumnSignalName signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func connect(signal s: TreeViewColumnSignalName, flags f: ConnectFlags = ConnectFlags(0), data userData: gpointer!, destroyData destructor: GClosureNotify? = nil, signalHandler h: @escaping GCallback) -> Int

    Parameters

    signal

    The signal to connect

    flags

    The connection flags to use

    data

    A pointer to user data to provide to the callback

    destroyData

    A GClosureNotify C function to destroy the data pointed to by userData

    signalHandler

    The C function to be called on the given signal

    Return Value

    The signal handler ID (always greater than 0 for successful connections)

  • onClicked(flags:handler:) Extension method

    Note

    This represents the underlying clicked signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onClicked(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    handler

    The signal handler to call Run the given callback whenever the clicked signal is emitted

  • clickedSignal Extension method

    Typed clicked signal for using the connect(signal:) methods

    Declaration

    Swift

    static var clickedSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::alignment signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyAlignment(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyAlignment signal is emitted

  • notifyAlignmentSignal Extension method

    Typed notify::alignment signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyAlignmentSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::cell-area signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyCellArea(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyCellArea signal is emitted

  • notifyCellAreaSignal Extension method

    Typed notify::cell-area signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyCellAreaSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::clickable signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyClickable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyClickable signal is emitted

  • notifyClickableSignal Extension method

    Typed notify::clickable signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyClickableSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::expand signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyExpand(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyExpand signal is emitted

  • notifyExpandSignal Extension method

    Typed notify::expand signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyExpandSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::fixed-width signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyFixedWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyFixedWidth signal is emitted

  • notifyFixedWidthSignal Extension method

    Typed notify::fixed-width signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyFixedWidthSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::max-width signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyMaxWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyMaxWidth signal is emitted

  • notifyMaxWidthSignal Extension method

    Typed notify::max-width signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyMaxWidthSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::min-width signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyMinWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyMinWidth signal is emitted

  • notifyMinWidthSignal Extension method

    Typed notify::min-width signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyMinWidthSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::reorderable signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyReorderable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyReorderable signal is emitted

  • notifyReorderableSignal Extension method

    Typed notify::reorderable signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyReorderableSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::resizable signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyResizable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyResizable signal is emitted

  • notifyResizableSignal Extension method

    Typed notify::resizable signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyResizableSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::sizing signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifySizing(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifySizing signal is emitted

  • notifySizingSignal Extension method

    Typed notify::sizing signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifySizingSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::sort-column-id signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifySortColumnID(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifySortColumnID signal is emitted

  • notifySortColumnIDSignal Extension method

    Typed notify::sort-column-id signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifySortColumnIDSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::sort-indicator signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifySortIndicator(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifySortIndicator signal is emitted

  • notifySortIndicatorSignal Extension method

    Typed notify::sort-indicator signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifySortIndicatorSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::sort-order signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifySortOrder(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifySortOrder signal is emitted

  • notifySortOrderSignal Extension method

    Typed notify::sort-order signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifySortOrderSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::spacing signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifySpacing(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifySpacing signal is emitted

  • notifySpacingSignal Extension method

    Typed notify::spacing signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifySpacingSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::title signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyTitle(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyTitle signal is emitted

  • notifyTitleSignal Extension method

    Typed notify::title signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyTitleSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::visible signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyVisible(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyVisible signal is emitted

  • notifyVisibleSignal Extension method

    Typed notify::visible signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyVisibleSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::widget signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyWidget(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyWidget signal is emitted

  • notifyWidgetSignal Extension method

    Typed notify::widget signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyWidgetSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::width signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyWidth signal is emitted

  • notifyWidthSignal Extension method

    Typed notify::width signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyWidthSignal: TreeViewColumnSignalName { get }
  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Note

    This represents the underlying notify::x-offset signal

    Declaration

    Swift

    @discardableResult
    @inlinable
    func onNotifyXOffset(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> Int

    Parameters

    flags

    Flags

    unownedSelf

    Reference to instance of self

    pspec

    the GParamSpec of the property which changed.

    handler

    The signal handler to call Run the given callback whenever the notifyXOffset signal is emitted

  • notifyXOffsetSignal Extension method

    Typed notify::x-offset signal for using the connect(signal:) methods

    Declaration

    Swift

    static var notifyXOffsetSignal: TreeViewColumnSignalName { get }

TreeViewColumn Class: TreeViewColumnProtocol extension (methods and fields)

  • Adds an attribute mapping to the list in tree_column. The column is the column of the model to get a value from, and the attribute is the parameter on cell_renderer to be set from the value. So for example if column 2 of the model contains strings, you could have the “text” attribute of a GtkCellRendererText get its values from column 2.

    Declaration

    Swift

    @inlinable
    func addAttribute<CellRendererT>(cellRenderer: CellRendererT, attribute: UnsafePointer<gchar>!, column: Int) where CellRendererT : CellRendererProtocol
  • Obtains the horizontal position and size of a cell in a column. If the cell is not found in the column, start_pos and width are not changed and false is returned.

    Declaration

    Swift

    @inlinable
    func cellGetPosition<CellRendererT>(cellRenderer: CellRendererT, xOffset: UnsafeMutablePointer<gint>! = nil, width: UnsafeMutablePointer<gint>! = nil) -> Bool where CellRendererT : CellRendererProtocol
  • Obtains the width and height needed to render the column. This is used primarily by the GtkTreeView.

    Declaration

    Swift

    @inlinable
    func cellGetSize(cellArea: Gdk.RectangleRef? = nil, xOffset: UnsafeMutablePointer<gint>! = nil, yOffset: UnsafeMutablePointer<gint>! = nil, width: UnsafeMutablePointer<gint>! = nil, height: UnsafeMutablePointer<gint>! = nil)
  • Obtains the width and height needed to render the column. This is used primarily by the GtkTreeView.

    Declaration

    Swift

    @inlinable
    func cellGetSize<RectangleT>(cellArea: RectangleT?, xOffset: UnsafeMutablePointer<gint>! = nil, yOffset: UnsafeMutablePointer<gint>! = nil, width: UnsafeMutablePointer<gint>! = nil, height: UnsafeMutablePointer<gint>! = nil) where RectangleT : RectangleProtocol
  • cellIsVisible() Extension method

    Returns true if any of the cells packed into the tree_column are visible. For this to be meaningful, you must first initialize the cells with gtk_tree_view_column_cell_set_cell_data()

    Declaration

    Swift

    @inlinable
    func cellIsVisible() -> Bool
  • Sets the cell renderer based on the tree_model and iter. That is, for every attribute mapping in tree_column, it will get a value from the set column on the iter, and use that value to set the attribute on the cell renderer. This is used primarily by the GtkTreeView.

    Declaration

    Swift

    @inlinable
    func cellSetCellData<TreeIterT, TreeModelT>(treeModel: TreeModelT, iter: TreeIterT, isExpander: Bool, isExpanded: Bool) where TreeIterT : TreeIterProtocol, TreeModelT : TreeModelProtocol
  • clear() Extension method

    Unsets all the mappings on all renderers on the tree_column.

    Declaration

    Swift

    @inlinable
    func clear()
  • Clears all existing attributes previously set with gtk_tree_view_column_set_attributes().

    Declaration

    Swift

    @inlinable
    func clearAttributes<CellRendererT>(cellRenderer: CellRendererT) where CellRendererT : CellRendererProtocol
  • clicked() Extension method

    Emits the “clicked” signal on the column. This function will only work if tree_column is clickable.

    Declaration

    Swift

    @inlinable
    func clicked()
  • focus(cell:) Extension method

    Sets the current keyboard focus to be at cell, if the column contains 2 or more editable and activatable cells.

    Declaration

    Swift

    @inlinable
    func focus<CellRendererT>(cell: CellRendererT) where CellRendererT : CellRendererProtocol
  • getAlignment() Extension method

    Returns the current x alignment of tree_column. This value can range between 0.0 and 1.0.

    Declaration

    Swift

    @inlinable
    func getAlignment() -> Double
  • getButton() Extension method

    Returns the button used in the treeview column header

    Declaration

    Swift

    @inlinable
    func getButton() -> WidgetRef!
  • getClickable() Extension method

    Returns true if the user can click on the header for the column.

    Declaration

    Swift

    @inlinable
    func getClickable() -> Bool
  • getExpand() Extension method

    Returns true if the column expands to fill available space.

    Declaration

    Swift

    @inlinable
    func getExpand() -> Bool
  • getFixedWidth() Extension method

    Gets the fixed width of the column. This may not be the actual displayed width of the column; for that, use gtk_tree_view_column_get_width().

    Declaration

    Swift

    @inlinable
    func getFixedWidth() -> Int
  • getMaxWidth() Extension method

    Returns the maximum width in pixels of the tree_column, or -1 if no maximum width is set.

    Declaration

    Swift

    @inlinable
    func getMaxWidth() -> Int
  • getMinWidth() Extension method

    Returns the minimum width in pixels of the tree_column, or -1 if no minimum width is set.

    Declaration

    Swift

    @inlinable
    func getMinWidth() -> Int
  • getReorderable() Extension method

    Returns true if the tree_column can be reordered by the user.

    Declaration

    Swift

    @inlinable
    func getReorderable() -> Bool
  • getResizable() Extension method

    Returns true if the tree_column can be resized by the end user.

    Declaration

    Swift

    @inlinable
    func getResizable() -> Bool
  • getSizing() Extension method

    Returns the current type of tree_column.

    Declaration

    Swift

    @inlinable
    func getSizing() -> GtkTreeViewColumnSizing
  • getSortColumnID() Extension method

    Gets the logical sort_column_id that the model sorts on when this column is selected for sorting. See gtk_tree_view_column_set_sort_column_id().

    Declaration

    Swift

    @inlinable
    func getSortColumnID() -> Int
  • getSortIndicator() Extension method

    Gets the value set by gtk_tree_view_column_set_sort_indicator().

    Declaration

    Swift

    @inlinable
    func getSortIndicator() -> Bool
  • getSortOrder() Extension method

    Gets the value set by gtk_tree_view_column_set_sort_order().

    Declaration

    Swift

    @inlinable
    func getSortOrder() -> GtkSortType
  • getSpacing() Extension method

    Returns the spacing of tree_column.

    Declaration

    Swift

    @inlinable
    func getSpacing() -> Int
  • getTitle() Extension method

    Returns the title of the widget.

    Declaration

    Swift

    @inlinable
    func getTitle() -> String!
  • getTreeView() Extension method

    Returns the GtkTreeView wherein tree_column has been inserted. If column is currently not inserted in any tree view, nil is returned.

    Declaration

    Swift

    @inlinable
    func getTreeView() -> WidgetRef!
  • getVisible() Extension method

    Returns true if tree_column is visible.

    Declaration

    Swift

    @inlinable
    func getVisible() -> Bool
  • getWidget() Extension method

    Returns the GtkWidget in the button on the column header. If a custom widget has not been set then nil is returned.

    Declaration

    Swift

    @inlinable
    func getWidget() -> WidgetRef!
  • getWidth() Extension method

    Returns the current size of tree_column in pixels.

    Declaration

    Swift

    @inlinable
    func getWidth() -> Int
  • getXOffset() Extension method

    Returns the current X offset of tree_column in pixels.

    Declaration

    Swift

    @inlinable
    func getXOffset() -> Int
  • packEnd(cell:expand:) Extension method

    Adds the cell to end of the column. If expand is false, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is true.

    Declaration

    Swift

    @inlinable
    func packEnd<CellRendererT>(cell: CellRendererT, expand: Bool) where CellRendererT : CellRendererProtocol
  • packStart(cell:expand:) Extension method

    Packs the cell into the beginning of the column. If expand is false, then the cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which expand is true.

    Declaration

    Swift

    @inlinable
    func packStart<CellRendererT>(cell: CellRendererT, expand: Bool) where CellRendererT : CellRendererProtocol
  • queueResize() Extension method

    Flags the column, and the cell renderers added to this column, to have their sizes renegotiated.

    Declaration

    Swift

    @inlinable
    func queueResize()
  • setAlignment(xalign:) Extension method

    Sets the alignment of the title or custom widget inside the column header. The alignment determines its location inside the button – 0.0 for left, 0.5 for center, 1.0 for right.

    Declaration

    Swift

    @inlinable
    func setAlignment(xalign: Double)
  • Sets the GtkTreeCellDataFunc to use for the column. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of tree_column‘s cell renderer as appropriate. func may be nil to remove an older one.

    Declaration

    Swift

    @inlinable
    func setCellDataFunc<CellRendererT>(cellRenderer: CellRendererT, func: GtkTreeCellDataFunc? = nil, funcData: gpointer! = nil, destroy: GDestroyNotify?) where CellRendererT : CellRendererProtocol
  • set(clickable:) Extension method

    Sets the header to be active if clickable is true. When the header is active, then it can take keyboard focus, and can be clicked.

    Declaration

    Swift

    @inlinable
    func set(clickable: Bool)
  • set(expand:) Extension method

    Sets the column to take available extra space. This space is shared equally amongst all columns that have the expand set to true. If no column has this option set, then the last column gets all extra space. By default, every column is created with this false.

    Along with “fixed-width”, the “expand” property changes when the column is resized by the user.

    Declaration

    Swift

    @inlinable
    func set(expand: Bool)
  • set(fixedWidth:) Extension method

    If fixed_width is not -1, sets the fixed width of tree_column; otherwise unsets it. The effective value of fixed_width is clamped between the minimum and maximum width of the column; however, the value stored in the “fixed-width” property is not clamped. If the column sizing is GTK_TREE_VIEW_COLUMN_GROW_ONLY or GTK_TREE_VIEW_COLUMN_AUTOSIZE, setting a fixed width overrides the automatically calculated width. Note that fixed_width is only a hint to GTK+; the width actually allocated to the column may be greater or less than requested.

    Along with “expand”, the “fixed-width” property changes when the column is resized by the user.

    Declaration

    Swift

    @inlinable
    func set(fixedWidth: Int)
  • set(maxWidth:) Extension method

    Sets the maximum width of the tree_column. If max_width is -1, then the maximum width is unset. Note, the column can actually be wider than max width if it’s the last column in a view. In this case, the column expands to fill any extra space.

    Declaration

    Swift

    @inlinable
    func set(maxWidth: Int)
  • set(minWidth:) Extension method

    Sets the minimum width of the tree_column. If min_width is -1, then the minimum width is unset.

    Declaration

    Swift

    @inlinable
    func set(minWidth: Int)
  • set(reorderable:) Extension method

    If reorderable is true, then the column can be reordered by the end user dragging the header.

    Declaration

    Swift

    @inlinable
    func set(reorderable: Bool)
  • set(resizable:) Extension method

    If resizable is true, then the user can explicitly resize the column by grabbing the outer edge of the column button. If resizable is true and sizing mode of the column is GTK_TREE_VIEW_COLUMN_AUTOSIZE, then the sizing mode is changed to GTK_TREE_VIEW_COLUMN_GROW_ONLY.

    Declaration

    Swift

    @inlinable
    func set(resizable: Bool)
  • setSizing(type:) Extension method

    Sets the growth behavior of tree_column to type.

    Declaration

    Swift

    @inlinable
    func setSizing(type: GtkTreeViewColumnSizing)
  • set(sortColumnID:) Extension method

    Sets the logical sort_column_id that this column sorts on when this column is selected for sorting. Doing so makes the column header clickable.

    Declaration

    Swift

    @inlinable
    func set(sortColumnID: Int)
  • setSortIndicator(setting:) Extension method

    Call this function with a setting of true to display an arrow in the header button indicating the column is sorted. Call gtk_tree_view_column_set_sort_order() to change the direction of the arrow.

    Declaration

    Swift

    @inlinable
    func setSortIndicator(setting: Bool)
  • setSort(order:) Extension method

    Changes the appearance of the sort indicator.

    This does not actually sort the model. Use gtk_tree_view_column_set_sort_column_id() if you want automatic sorting support. This function is primarily for custom sorting behavior, and should be used in conjunction with gtk_tree_sortable_set_sort_column_id() to do that. For custom models, the mechanism will vary.

    The sort indicator changes direction to indicate normal sort or reverse sort. Note that you must have the sort indicator enabled to see anything when calling this function; see gtk_tree_view_column_set_sort_indicator().

    Declaration

    Swift

    @inlinable
    func setSort(order: GtkSortType)
  • set(spacing:) Extension method

    Sets the spacing field of tree_column, which is the number of pixels to place between cell renderers packed into it.

    Declaration

    Swift

    @inlinable
    func set(spacing: Int)
  • set(title:) Extension method

    Sets the title of the tree_column. If a custom widget has been set, then this value is ignored.

    Declaration

    Swift

    @inlinable
    func set(title: UnsafePointer<gchar>!)
  • set(visible:) Extension method

    Sets the visibility of tree_column.

    Declaration

    Swift

    @inlinable
    func set(visible: Bool)
  • set(widget:) Extension method

    Sets the widget in the header to be widget. If widget is nil, then the header button is set with a GtkLabel set to the title of tree_column.

    Declaration

    Swift

    @inlinable
    func set(widget: WidgetRef? = nil)
  • set(widget:) Extension method

    Sets the widget in the header to be widget. If widget is nil, then the header button is set with a GtkLabel set to the title of tree_column.

    Declaration

    Swift

    @inlinable
    func set<WidgetT>(widget: WidgetT?) where WidgetT : WidgetProtocol
  • alignment Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var alignment: Double { get nonmutating set }
  • button Extension method

    Returns the button used in the treeview column header

    Declaration

    Swift

    @inlinable
    var button: WidgetRef! { get }
  • clickable Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var clickable: Bool { get nonmutating set }
  • expand Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var expand: Bool { get nonmutating set }
  • fixedWidth Extension method

    Gets the fixed width of the column. This may not be the actual displayed width of the column; for that, use gtk_tree_view_column_get_width().

    Declaration

    Swift

    @inlinable
    var fixedWidth: Int { get nonmutating set }
  • maxWidth Extension method

    Returns the maximum width in pixels of the tree_column, or -1 if no maximum width is set.

    Declaration

    Swift

    @inlinable
    var maxWidth: Int { get nonmutating set }
  • minWidth Extension method

    Returns the minimum width in pixels of the tree_column, or -1 if no minimum width is set.

    Declaration

    Swift

    @inlinable
    var minWidth: Int { get nonmutating set }
  • reorderable Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var reorderable: Bool { get nonmutating set }
  • resizable Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var resizable: Bool { get nonmutating set }
  • sizing Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var sizing: GtkTreeViewColumnSizing { get nonmutating set }
  • sortColumnID Extension method

    Gets the logical sort_column_id that the model sorts on when this column is selected for sorting. See gtk_tree_view_column_set_sort_column_id().

    Declaration

    Swift

    @inlinable
    var sortColumnID: Int { get nonmutating set }
  • sortIndicator Extension method

    Gets the value set by gtk_tree_view_column_set_sort_indicator().

    Declaration

    Swift

    @inlinable
    var sortIndicator: Bool { get nonmutating set }
  • sortOrder Extension method

    Gets the value set by gtk_tree_view_column_set_sort_order().

    Declaration

    Swift

    @inlinable
    var sortOrder: GtkSortType { get nonmutating set }
  • spacing Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var spacing: Int { get nonmutating set }
  • title Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var title: String! { get nonmutating set }
  • treeView Extension method

    Returns the GtkTreeView wherein tree_column has been inserted. If column is currently not inserted in any tree view, nil is returned.

    Declaration

    Swift

    @inlinable
    var treeView: WidgetRef! { get }
  • visible Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var visible: Bool { get nonmutating set }
  • widget Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var widget: WidgetRef! { get nonmutating set }
  • width Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var width: Int { get }
  • xOffset Extension method

    Returns the current X offset of tree_column in pixels.

    Declaration

    Swift

    @inlinable
    var xOffset: Int { get }
  • parentInstance Extension method

    Undocumented

    Declaration

    Swift

    @inlinable
    var parentInstance: GInitiallyUnowned { get }