Table of Contents

Class Filter

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

Filter(CreationData)

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

Parameters

data CreationData

Filter(FilterHandle)

protected Filter(FilterHandle handle)

Parameters

handle FilterHandle

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<Filter, Filter.ChangedSignalArgs> ChangedSignal

Field Value

Signal<Filter, Filter.ChangedSignalArgs>

Methods

Changed(FilterChange)

public void Changed(FilterChange change)

Parameters

change FilterChange

GetGType()

public static Type GetGType()

Returns

Type

GetStrictness()

public FilterMatch GetStrictness()

Returns

FilterMatch

Match(Object)

public bool Match(Object item)

Parameters

item Object

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed Filter instance for a given pointer.

public static Filter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Filter

NewWithProperties(ConstructArgument[])

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

public static Filter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Filter

Events

OnChanged

public event SignalHandler<Filter, Filter.ChangedSignalArgs> OnChanged

Event Type

SignalHandler<Filter, Filter.ChangedSignalArgs>