Class ColumnViewSorter
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class ColumnViewSorter : Sorter, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
ColumnViewSorter
- Implements
- Inherited Members
Constructors
ColumnViewSorter(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ColumnViewSorter(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ColumnViewSorter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ColumnViewSorter(CreationData data)
Parameters
dataCreationData
ColumnViewSorter(ColumnViewSorterHandle)
protected ColumnViewSorter(ColumnViewSorterHandle handle)
Parameters
handleColumnViewSorterHandle
Fields
PrimarySortColumnPropertyDefinition
public static readonly Property<ColumnViewColumn?, ColumnViewSorter> PrimarySortColumnPropertyDefinition
Field Value
PrimarySortOrderPropertyDefinition
public static readonly Property<SortType, ColumnViewSorter> PrimarySortOrderPropertyDefinition
Field Value
Properties
PrimarySortColumn
public ColumnViewColumn? PrimarySortColumn { get; }
Property Value
PrimarySortOrder
public SortType PrimarySortOrder { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetNSortColumns()
[Version("4.10")]
public uint GetNSortColumns()
Returns
GetNthSortColumn(uint, out SortType)
[Version("4.10")]
public ColumnViewColumn? GetNthSortColumn(uint position, out SortType sortOrder)
Parameters
Returns
GetPrimarySortColumn()
[Version("4.10")]
public ColumnViewColumn? GetPrimarySortColumn()
Returns
GetPrimarySortOrder()
[Version("4.10")]
public SortType GetPrimarySortOrder()
Returns
NewFromPointer(nint, bool)
Creates a new managed ColumnViewSorter instance for a given pointer.
public static ColumnViewSorter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ColumnViewSorter and sets the properties specified by the construct arguments.
public static ColumnViewSorter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.