Table of Contents

Class AnyFilter

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class AnyFilter : MultiFilter, ListModel, Buildable, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
AnyFilter
Implements
Inherited Members

Constructors

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

Parameters

constructArguments ConstructArgument[]

AnyFilter(CreationData)

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

Parameters

data CreationData

AnyFilter(AnyFilterHandle)

protected AnyFilter(AnyFilterHandle handle)

Parameters

handle AnyFilterHandle

Fields

ItemsChangedSignal

Signal Descriptor for OnItemsChanged.

public static readonly Signal<ListModel, ListModel.ItemsChangedSignalArgs> ItemsChangedSignal

Field Value

Signal<ListModel, ListModel.ItemsChangedSignalArgs>

Methods

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetItem(uint)

[Version("2.44")]
public nint GetItem(uint position)

Parameters

position uint

Returns

nint

GetItemType()

[Version("2.44")]
public Type GetItemType()

Returns

Type

GetNItems()

[Version("2.44")]
public uint GetNItems()

Returns

uint

GetObject(uint)

[Version("2.44")]
public Object? GetObject(uint position)

Parameters

position uint

Returns

Object

ItemsChanged(uint, uint, uint)

[Version("2.44")]
public void ItemsChanged(uint position, uint removed, uint added)

Parameters

position uint
removed uint
added uint

New()

public static AnyFilter New()

Returns

AnyFilter

NewFromPointer(nint, bool)

Creates a new managed AnyFilter instance for a given pointer.

public static AnyFilter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AnyFilter

NewWithProperties(ConstructArgument[])

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

public static AnyFilter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AnyFilter

Events

OnItemsChanged

public event SignalHandler<ListModel, ListModel.ItemsChangedSignalArgs> OnItemsChanged

Event Type

SignalHandler<ListModel, ListModel.ItemsChangedSignalArgs>