TreeViewColumnProtocol
public protocol TreeViewColumnProtocol : InitiallyUnownedProtocol, BuildableProtocol, CellLayoutProtocol
A visible column in a GtkTreeView widget
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, and to the GtkTreeView documentation for specifics about
the CSS node structure for treeviews and their headers.
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.
-
Untyped pointer to the underlying
GtkTreeViewColumninstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
tree_view_column_ptrDefault implementationTyped pointer to the underlying
GtkTreeViewColumninstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkTreeViewColumninstance.Declaration
Swift
var tree_view_column_ptr: UnsafeMutablePointer<GtkTreeViewColumn>! { get } -
Required Initialiser for types conforming to
TreeViewColumnProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
bind(property:Extension methodto: _: flags: transformFrom: transformTo: ) Bind a
TreeViewColumnPropertyNamesource 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 : ObjectProtocolParameters
source_propertythe source property to bind
targetthe target object to bind to
target_propertythe target property to bind to
flagsthe flags to pass to the
Bindingtransform_fromValueTransformerto use for forward transformationtransform_toValueTransformerto use for backwards transformationReturn Value
binding reference or
nilin case of an error -
get(property:Extension method) Get the value of a TreeViewColumn property
Declaration
Swift
@inlinable func get(property: TreeViewColumnPropertyName) -> GLibObject.ValueParameters
propertythe property to get the value for
Return Value
the value of the named property
-
set(property:Extension methodvalue: ) 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
propertythe property to get the value for
Return Value
the value of the named property
-
connect(signal:Extension methodflags: handler: ) Connect a Swift signal handler to the given, typed
TreeViewColumnSignalNamesignalDeclaration
Swift
@discardableResult @inlinable func connect(signal s: TreeViewColumnSignalName, flags f: ConnectFlags = ConnectFlags(0), handler h: @escaping SignalHandler) -> IntParameters
signalThe signal to connect
flagsThe connection flags to use
dataA pointer to user data to provide to the callback
destroyDataA
GClosureNotifyC function to destroy the data pointed to byuserDatahandlerThe 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(signal:Extension methodflags: data: destroyData: signalHandler: ) Connect a C signal handler to the given, typed
TreeViewColumnSignalNamesignalDeclaration
Swift
@discardableResult @inlinable func connect(signal s: TreeViewColumnSignalName, flags f: ConnectFlags = ConnectFlags(0), data userData: gpointer!, destroyData destructor: GClosureNotify? = nil, signalHandler h: @escaping GCallback) -> IntParameters
signalThe signal to connect
flagsThe connection flags to use
dataA pointer to user data to provide to the callback
destroyDataA
GClosureNotifyC function to destroy the data pointed to byuserDatasignalHandlerThe C function to be called on the given signal
Return Value
The signal handler ID (always greater than 0 for successful connections)
-
onClicked(flags:Extension methodhandler: ) Emitted when the column’s header has been clicked.
Note
This represents the underlyingclickedsignalDeclaration
Swift
@discardableResult @inlinable func onClicked(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
handlerThe signal handler to call Run the given callback whenever the
clickedsignal is emitted -
clickedSignalExtension methodTyped
clickedsignal for using theconnect(signal:)methodsDeclaration
Swift
static var clickedSignal: TreeViewColumnSignalName { get } -
onNotifyAlignment(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::alignmentsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyAlignment(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyAlignmentsignal is emitted -
notifyAlignmentSignalExtension methodTyped
notify::alignmentsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyAlignmentSignal: TreeViewColumnSignalName { get } -
onNotifyCellArea(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::cell-areasignalDeclaration
Swift
@discardableResult @inlinable func onNotifyCellArea(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyCellAreasignal is emitted -
notifyCellAreaSignalExtension methodTyped
notify::cell-areasignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyCellAreaSignal: TreeViewColumnSignalName { get } -
onNotifyClickable(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::clickablesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyClickable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyClickablesignal is emitted -
notifyClickableSignalExtension methodTyped
notify::clickablesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyClickableSignal: TreeViewColumnSignalName { get } -
onNotifyExpand(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::expandsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyExpand(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyExpandsignal is emitted -
notifyExpandSignalExtension methodTyped
notify::expandsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyExpandSignal: TreeViewColumnSignalName { get } -
onNotifyFixedWidth(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::fixed-widthsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyFixedWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyFixedWidthsignal is emitted -
notifyFixedWidthSignalExtension methodTyped
notify::fixed-widthsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyFixedWidthSignal: TreeViewColumnSignalName { get } -
onNotifyMaxWidth(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::max-widthsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyMaxWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyMaxWidthsignal is emitted -
notifyMaxWidthSignalExtension methodTyped
notify::max-widthsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyMaxWidthSignal: TreeViewColumnSignalName { get } -
onNotifyMinWidth(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::min-widthsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyMinWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyMinWidthsignal is emitted -
notifyMinWidthSignalExtension methodTyped
notify::min-widthsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyMinWidthSignal: TreeViewColumnSignalName { get } -
onNotifyReorderable(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::reorderablesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyReorderable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyReorderablesignal is emitted -
notifyReorderableSignalExtension methodTyped
notify::reorderablesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyReorderableSignal: TreeViewColumnSignalName { get } -
onNotifyResizable(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::resizablesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyResizable(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyResizablesignal is emitted -
notifyResizableSignalExtension methodTyped
notify::resizablesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyResizableSignal: TreeViewColumnSignalName { get } -
onNotifySizing(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::sizingsignalDeclaration
Swift
@discardableResult @inlinable func onNotifySizing(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifySizingsignal is emitted -
notifySizingSignalExtension methodTyped
notify::sizingsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifySizingSignal: TreeViewColumnSignalName { get } -
onNotifySortColumnId(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::sort-column-idsignalDeclaration
Swift
@discardableResult @inlinable func onNotifySortColumnId(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifySortColumnIdsignal is emitted -
notifySortColumnIdSignalExtension methodTyped
notify::sort-column-idsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifySortColumnIdSignal: TreeViewColumnSignalName { get } -
onNotifySortIndicator(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::sort-indicatorsignalDeclaration
Swift
@discardableResult @inlinable func onNotifySortIndicator(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifySortIndicatorsignal is emitted -
notifySortIndicatorSignalExtension methodTyped
notify::sort-indicatorsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifySortIndicatorSignal: TreeViewColumnSignalName { get } -
onNotifySortOrder(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::sort-ordersignalDeclaration
Swift
@discardableResult @inlinable func onNotifySortOrder(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifySortOrdersignal is emitted -
notifySortOrderSignalExtension methodTyped
notify::sort-ordersignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifySortOrderSignal: TreeViewColumnSignalName { get } -
onNotifySpacing(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::spacingsignalDeclaration
Swift
@discardableResult @inlinable func onNotifySpacing(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifySpacingsignal is emitted -
notifySpacingSignalExtension methodTyped
notify::spacingsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifySpacingSignal: TreeViewColumnSignalName { get } -
onNotifyTitle(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::titlesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyTitle(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyTitlesignal is emitted -
notifyTitleSignalExtension methodTyped
notify::titlesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyTitleSignal: TreeViewColumnSignalName { get } -
onNotifyVisible(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::visiblesignalDeclaration
Swift
@discardableResult @inlinable func onNotifyVisible(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyVisiblesignal is emitted -
notifyVisibleSignalExtension methodTyped
notify::visiblesignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyVisibleSignal: TreeViewColumnSignalName { get } -
onNotifyWidget(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::widgetsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyWidget(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyWidgetsignal is emitted -
notifyWidgetSignalExtension methodTyped
notify::widgetsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyWidgetSignal: TreeViewColumnSignalName { get } -
onNotifyWidth(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::widthsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyWidth(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyWidthsignal is emitted -
notifyWidthSignalExtension methodTyped
notify::widthsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyWidthSignal: TreeViewColumnSignalName { get } -
onNotifyXOffset(flags:Extension methodhandler: ) 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 tog_object_set_property()results innotifybeing emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly callg_object_notify()org_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 underlyingnotify::x-offsetsignalDeclaration
Swift
@discardableResult @inlinable func onNotifyXOffset(flags: ConnectFlags = ConnectFlags(0), handler: @escaping (_ unownedSelf: TreeViewColumnRef, _ pspec: ParamSpecRef) -> Void) -> IntParameters
flagsFlags
unownedSelfReference to instance of self
pspecthe
GParamSpecof the property which changed.handlerThe signal handler to call Run the given callback whenever the
notifyXOffsetsignal is emitted -
notifyXOffsetSignalExtension methodTyped
notify::x-offsetsignal for using theconnect(signal:)methodsDeclaration
Swift
static var notifyXOffsetSignal: TreeViewColumnSignalName { get }
-
addAttribute(cellRenderer:Extension methodattribute: column: ) Adds an attribute mapping to the list in
tree_column.The
columnis the column of the model to get a value from, and theattributeis the parameter oncell_rendererto be set from the value. So for example if column 2 of the model contains strings, you could have the “text” attribute of aGtkCellRendererTextget its values from column 2.Declaration
Swift
@inlinable func addAttribute<CellRendererT>(cellRenderer: CellRendererT, attribute: UnsafePointer<CChar>!, column: Int) where CellRendererT : CellRendererProtocol -
cellGetPosition(cellRenderer:Extension methodxOffset: width: ) Obtains the horizontal position and size of a cell in a column.
If the cell is not found in the column,
start_posandwidthare not changed andfalseis returned.Declaration
Swift
@inlinable func cellGetPosition<CellRendererT>(cellRenderer: CellRendererT, xOffset: UnsafeMutablePointer<gint>! = nil, width: UnsafeMutablePointer<gint>! = nil) -> Bool where CellRendererT : CellRendererProtocol -
cellGetSize(xOffset:Extension methodyOffset: width: height: ) Obtains the width and height needed to render the column. This is used primarily by the
GtkTreeView.Declaration
Swift
@inlinable func cellGetSize(xOffset: UnsafeMutablePointer<gint>! = nil, yOffset: UnsafeMutablePointer<gint>! = nil, width: UnsafeMutablePointer<gint>! = nil, height: UnsafeMutablePointer<gint>! = nil) -
cellIsVisible()Extension methodReturns
trueif any of the cells packed into thetree_columnare visible. For this to be meaningful, you must first initialize the cells withgtk_tree_view_column_cell_set_cell_data()Declaration
Swift
@inlinable func cellIsVisible() -> Bool -
cellSetCellData(treeModel:Extension methoditer: isExpander: isExpanded: ) Sets the cell renderer based on the
tree_modelanditer. That is, for every attribute mapping intree_column, it will get a value from the set column on theiter, and use that value to set the attribute on the cell renderer. This is used primarily by theGtkTreeView.Declaration
Swift
@inlinable func cellSetCellData<TreeIterT, TreeModelT>(treeModel: TreeModelT, iter: TreeIterT, isExpander: Bool, isExpanded: Bool) where TreeIterT : TreeIterProtocol, TreeModelT : TreeModelProtocol -
clear()Extension methodUnsets all the mappings on all renderers on the
tree_column.Declaration
Swift
@inlinable func clear() -
clearAttributes(cellRenderer:Extension method) 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 methodEmits the “clicked” signal on the column. This function will only work if
tree_columnis 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 methodReturns the current x alignment of
tree_column. This value can range between 0.0 and 1.0.Declaration
Swift
@inlinable func getAlignment() -> CFloat -
getButton()Extension methodReturns the button used in the treeview column header
Declaration
Swift
@inlinable func getButton() -> WidgetRef! -
getClickable()Extension methodReturns
trueif the user can click on the header for the column.Declaration
Swift
@inlinable func getClickable() -> Bool -
getExpand()Extension methodReturns
trueif the column expands to fill available space.Declaration
Swift
@inlinable func getExpand() -> Bool -
getFixedWidth()Extension methodGets 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 methodReturns 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 methodReturns 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 methodReturns
trueif thetree_columncan be reordered by the user.Declaration
Swift
@inlinable func getReorderable() -> Bool -
getResizable()Extension methodReturns
trueif thetree_columncan be resized by the end user.Declaration
Swift
@inlinable func getResizable() -> Bool -
getSizing()Extension methodReturns the current type of
tree_column.Declaration
Swift
@inlinable func getSizing() -> GtkTreeViewColumnSizing -
getSortColumnId()Extension methodGets the logical
sort_column_idthat the model sorts on when this column is selected for sorting.See [method
Gtk.TreeViewColumn.set_sort_column_id].Declaration
Swift
@inlinable func getSortColumnId() -> Int -
getSortIndicator()Extension methodGets the value set by
gtk_tree_view_column_set_sort_indicator().Declaration
Swift
@inlinable func getSortIndicator() -> Bool -
getSortOrder()Extension methodGets the value set by
gtk_tree_view_column_set_sort_order().Declaration
Swift
@inlinable func getSortOrder() -> GtkSortType -
getSpacing()Extension methodReturns the spacing of
tree_column.Declaration
Swift
@inlinable func getSpacing() -> Int -
getTitle()Extension methodReturns the title of the widget.
Declaration
Swift
@inlinable func getTitle() -> String! -
getTreeView()Extension methodReturns the
GtkTreeViewwhereintree_columnhas been inserted. Ifcolumnis currently not inserted in any tree view,nilis returned.Declaration
Swift
@inlinable func getTreeView() -> WidgetRef! -
getVisible()Extension methodReturns
trueiftree_columnis visible.Declaration
Swift
@inlinable func getVisible() -> Bool -
getWidget()Extension methodReturns the
GtkWidgetin the button on the column header.If a custom widget has not been set then
nilis returned.Declaration
Swift
@inlinable func getWidget() -> WidgetRef! -
getWidth()Extension methodReturns the current size of
tree_columnin pixels.Declaration
Swift
@inlinable func getWidth() -> Int -
getXOffset()Extension methodReturns the current X offset of
tree_columnin pixels.Declaration
Swift
@inlinable func getXOffset() -> Int -
packEnd(cell:Extension methodexpand: ) Adds the
cellto end of the column. Ifexpandisfalse, then thecellis allocated no more space than it needs. Any unused space is divided evenly between cells for whichexpandistrue.Declaration
Swift
@inlinable func packEnd<CellRendererT>(cell: CellRendererT, expand: Bool) where CellRendererT : CellRendererProtocol -
packStart(cell:Extension methodexpand: ) Packs the
cellinto the beginning of the column. Ifexpandisfalse, then thecellis allocated no more space than it needs. Any unused space is divided evenly between cells for whichexpandistrue.Declaration
Swift
@inlinable func packStart<CellRendererT>(cell: CellRendererT, expand: Bool) where CellRendererT : CellRendererProtocol -
queueResize()Extension methodFlags 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: CFloat) -
setCellDataFunc(cellRenderer:Extension methodfunc: funcData: destroy: ) Sets the
GtkTreeCellDataFuncto 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.funcmay benilto 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
clickableistrue. 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 thisfalse.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_widthis not -1, sets the fixed width oftree_column; otherwise unsets it. The effective value offixed_widthis 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 isGTK_TREE_VIEW_COLUMN_GROW_ONLYorGTK_TREE_VIEW_COLUMN_AUTOSIZE, setting a fixed width overrides the automatically calculated width. Note thatfixed_widthis 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. Ifmax_widthis -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. Ifmin_widthis -1, then the minimum width is unset.Declaration
Swift
@inlinable func set(minWidth: Int) -
set(reorderable:Extension method) If
reorderableistrue, 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
resizableistrue, then the user can explicitly resize the column by grabbing the outer edge of the column button.If resizable is
trueand sizing mode of the column isGTK_TREE_VIEW_COLUMN_AUTOSIZE, then the sizing mode is changed toGTK_TREE_VIEW_COLUMN_GROW_ONLY.Declaration
Swift
@inlinable func set(resizable: Bool) -
setSizing(type:Extension method) Sets the growth behavior of
tree_columntotype.Declaration
Swift
@inlinable func setSizing(type: GtkTreeViewColumnSizing) -
set(sortColumnId:Extension method) Sets the logical
sort_column_idthat 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
settingoftrueto display an arrow in the header button indicating the column is sorted. Callgtk_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 withgtk_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<CChar>!) -
set(visible:Extension method) Sets the visibility of
tree_column.Declaration
Swift
@inlinable func set(visible: Bool) -
set(widget:Extension method) -
set(widget:Extension method) Sets the widget in the header to be
widget. If widget isnil, then the header button is set with aGtkLabelset to the title oftree_column.Declaration
Swift
@inlinable func set<WidgetT>(widget: WidgetT?) where WidgetT : WidgetProtocol -
alignmentExtension methodUndocumented
Declaration
Swift
@inlinable var alignment: CFloat { get nonmutating set } -
buttonExtension methodReturns the button used in the treeview column header
Declaration
Swift
@inlinable var button: WidgetRef! { get } -
clickableExtension methodUndocumented
Declaration
Swift
@inlinable var clickable: Bool { get nonmutating set } -
expandExtension methodUndocumented
Declaration
Swift
@inlinable var expand: Bool { get nonmutating set } -
fixedWidthExtension methodGets 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 } -
maxWidthExtension methodReturns 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 } -
minWidthExtension methodReturns 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 } -
reorderableExtension methodUndocumented
Declaration
Swift
@inlinable var reorderable: Bool { get nonmutating set } -
resizableExtension methodUndocumented
Declaration
Swift
@inlinable var resizable: Bool { get nonmutating set } -
sizingExtension methodUndocumented
Declaration
Swift
@inlinable var sizing: GtkTreeViewColumnSizing { get nonmutating set } -
sortColumnIdExtension methodGets the logical
sort_column_idthat the model sorts on when this column is selected for sorting.See [method
Gtk.TreeViewColumn.set_sort_column_id].Declaration
Swift
@inlinable var sortColumnId: Int { get nonmutating set } -
sortIndicatorExtension methodGets the value set by
gtk_tree_view_column_set_sort_indicator().Declaration
Swift
@inlinable var sortIndicator: Bool { get nonmutating set } -
sortOrderExtension methodGets the value set by
gtk_tree_view_column_set_sort_order().Declaration
Swift
@inlinable var sortOrder: GtkSortType { get nonmutating set } -
spacingExtension methodUndocumented
Declaration
Swift
@inlinable var spacing: Int { get nonmutating set } -
titleExtension methodUndocumented
Declaration
Swift
@inlinable var title: String! { get nonmutating set } -
treeViewExtension methodReturns the
GtkTreeViewwhereintree_columnhas been inserted. Ifcolumnis currently not inserted in any tree view,nilis returned.Declaration
Swift
@inlinable var treeView: WidgetRef! { get } -
visibleExtension methodUndocumented
Declaration
Swift
@inlinable var visible: Bool { get nonmutating set } -
widgetExtension methodUndocumented
Declaration
Swift
@inlinable var widget: WidgetRef! { get nonmutating set } -
widthExtension methodUndocumented
Declaration
Swift
@inlinable var width: Int { get } -
xOffsetExtension methodReturns the current X offset of
tree_columnin pixels.Declaration
Swift
@inlinable var xOffset: Int { get }
View on GitHub
Install in Dash
TreeViewColumnProtocol Protocol Reference