Table of Contents

Class StringFilter

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class StringFilter : Filter, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
StringFilter
Implements
Inherited Members

Constructors

StringFilter(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 StringFilter(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

StringFilter(CreationData)

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

Parameters

data CreationData

StringFilter(StringFilterHandle)

protected StringFilter(StringFilterHandle handle)

Parameters

handle StringFilterHandle

Fields

ExpressionPropertyDefinition

public static readonly Property<Expression?, StringFilter> ExpressionPropertyDefinition

Field Value

Property<Expression, StringFilter>

IgnoreCasePropertyDefinition

public static readonly Property<bool, StringFilter> IgnoreCasePropertyDefinition

Field Value

Property<bool, StringFilter>

MatchModePropertyDefinition

public static readonly Property<StringFilterMatchMode, StringFilter> MatchModePropertyDefinition

Field Value

Property<StringFilterMatchMode, StringFilter>

SearchPropertyDefinition

public static readonly Property<string?, StringFilter> SearchPropertyDefinition

Field Value

Property<string, StringFilter>

Properties

Expression

public Expression? Expression { get; set; }

Property Value

Expression

IgnoreCase

public bool IgnoreCase { get; set; }

Property Value

bool

MatchMode

public StringFilterMatchMode MatchMode { get; set; }

Property Value

StringFilterMatchMode
public string? Search { get; set; }

Property Value

string

Methods

GetExpression()

public Expression? GetExpression()

Returns

Expression

GetGType()

public static Type GetGType()

Returns

Type

GetIgnoreCase()

public bool GetIgnoreCase()

Returns

bool

GetMatchMode()

public StringFilterMatchMode GetMatchMode()

Returns

StringFilterMatchMode

GetSearch()

public string? GetSearch()

Returns

string

New(Expression?)

public static StringFilter New(Expression? expression)

Parameters

expression Expression

Returns

StringFilter

NewFromPointer(nint, bool)

Creates a new managed StringFilter instance for a given pointer.

public static StringFilter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

StringFilter

NewWithProperties(ConstructArgument[])

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

public static StringFilter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

StringFilter

SetExpression(Expression?)

public void SetExpression(Expression? expression)

Parameters

expression Expression

SetIgnoreCase(bool)

public void SetIgnoreCase(bool ignoreCase)

Parameters

ignoreCase bool

SetMatchMode(StringFilterMatchMode)

public void SetMatchMode(StringFilterMatchMode mode)

Parameters

mode StringFilterMatchMode

SetSearch(string?)

public void SetSearch(string? search)

Parameters

search string