Table of Contents

Class CustomFilter

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

CustomFilter(CreationData)

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

Parameters

data CreationData

CustomFilter(CustomFilterHandle)

protected CustomFilter(CustomFilterHandle handle)

Parameters

handle CustomFilterHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

New(CustomFilterFunc?)

public static CustomFilter New(CustomFilterFunc? matchFunc)

Parameters

matchFunc CustomFilterFunc

A callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).

Returns

CustomFilter

NewFromPointer(nint, bool)

Creates a new managed CustomFilter instance for a given pointer.

public static CustomFilter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CustomFilter

NewWithProperties(ConstructArgument[])

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

public static CustomFilter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CustomFilter

SetFilterFunc(CustomFilterFunc?)

public void SetFilterFunc(CustomFilterFunc? matchFunc)

Parameters

matchFunc CustomFilterFunc

A callback. If it raises an exception the application will terminate. To receive this unhandled exception see SetHandler(Action<Exception>?).