Class Sorter
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Sorter : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Sorter
- Implements
- Derived
- Inherited Members
Constructors
Sorter(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 Sorter(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Sorter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Sorter(CreationData data)
Parameters
dataCreationData
Sorter(SorterHandle)
protected Sorter(SorterHandle handle)
Parameters
handleSorterHandle
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<Sorter, Sorter.ChangedSignalArgs> ChangedSignal
Field Value
Methods
Changed(SorterChange)
public void Changed(SorterChange change)
Parameters
changeSorterChange
Compare(Object, Object)
public Ordering Compare(Object item1, Object item2)
Parameters
Returns
GetGType()
public static Type GetGType()
Returns
GetOrder()
public SorterOrder GetOrder()
Returns
NewFromPointer(nint, bool)
Creates a new managed Sorter instance for a given pointer.
public static Sorter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Sorter and sets the properties specified by the construct arguments.
public static Sorter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnChanged
public event SignalHandler<Sorter, Sorter.ChangedSignalArgs> OnChanged