Table of Contents

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

constructArguments ConstructArgument[]

ColumnViewSorter(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ColumnViewSorter(CreationData data)

Parameters

data CreationData

ColumnViewSorter(ColumnViewSorterHandle)

protected ColumnViewSorter(ColumnViewSorterHandle handle)

Parameters

handle ColumnViewSorterHandle

Fields

PrimarySortColumnPropertyDefinition

public static readonly Property<ColumnViewColumn?, ColumnViewSorter> PrimarySortColumnPropertyDefinition

Field Value

Property<ColumnViewColumn, ColumnViewSorter>

PrimarySortOrderPropertyDefinition

public static readonly Property<SortType, ColumnViewSorter> PrimarySortOrderPropertyDefinition

Field Value

Property<SortType, ColumnViewSorter>

Properties

PrimarySortColumn

public ColumnViewColumn? PrimarySortColumn { get; }

Property Value

ColumnViewColumn

PrimarySortOrder

public SortType PrimarySortOrder { get; }

Property Value

SortType

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetNSortColumns()

[Version("4.10")]
public uint GetNSortColumns()

Returns

uint

GetNthSortColumn(uint, out SortType)

[Version("4.10")]
public ColumnViewColumn? GetNthSortColumn(uint position, out SortType sortOrder)

Parameters

position uint
sortOrder SortType

Returns

ColumnViewColumn

GetPrimarySortColumn()

[Version("4.10")]
public ColumnViewColumn? GetPrimarySortColumn()

Returns

ColumnViewColumn

GetPrimarySortOrder()

[Version("4.10")]
public SortType GetPrimarySortOrder()

Returns

SortType

NewFromPointer(nint, bool)

Creates a new managed ColumnViewSorter instance for a given pointer.

public static ColumnViewSorter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ColumnViewSorter

NewWithProperties(ConstructArgument[])

Creates a new ColumnViewSorter and sets the properties specified by the construct arguments.

public static ColumnViewSorter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ColumnViewSorter