Class StringSorter
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class StringSorter : Sorter, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
StringSorter
- Implements
- Inherited Members
Constructors
StringSorter(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 StringSorter(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
StringSorter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected StringSorter(CreationData data)
Parameters
dataCreationData
StringSorter(StringSorterHandle)
protected StringSorter(StringSorterHandle handle)
Parameters
handleStringSorterHandle
Fields
CollationPropertyDefinition
public static readonly Property<Collation, StringSorter> CollationPropertyDefinition
Field Value
ExpressionPropertyDefinition
public static readonly Property<Expression?, StringSorter> ExpressionPropertyDefinition
Field Value
IgnoreCasePropertyDefinition
public static readonly Property<bool, StringSorter> IgnoreCasePropertyDefinition
Field Value
Properties
Collation
public Collation Collation { get; set; }
Property Value
Expression
public Expression? Expression { get; set; }
Property Value
IgnoreCase
public bool IgnoreCase { get; set; }
Property Value
Methods
GetCollation()
[Version("4.10")]
public Collation GetCollation()
Returns
GetExpression()
public Expression? GetExpression()
Returns
GetGType()
public static Type GetGType()
Returns
GetIgnoreCase()
public bool GetIgnoreCase()
Returns
New(Expression?)
public static StringSorter New(Expression? expression)
Parameters
expressionExpression
Returns
NewFromPointer(nint, bool)
Creates a new managed StringSorter instance for a given pointer.
public static StringSorter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new StringSorter and sets the properties specified by the construct arguments.
public static StringSorter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetCollation(Collation)
[Version("4.10")]
public void SetCollation(Collation collation)
Parameters
collationCollation
SetExpression(Expression?)
public void SetExpression(Expression? expression)
Parameters
expressionExpression
SetIgnoreCase(bool)
public void SetIgnoreCase(bool ignoreCase)
Parameters
ignoreCasebool