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
constructArgumentsConstructArgument[]
Filter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Filter(CreationData data)
Parameters
dataCreationData
Filter(FilterHandle)
protected Filter(FilterHandle handle)
Parameters
handleFilterHandle
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<Filter, Filter.ChangedSignalArgs> ChangedSignal
Field Value
Methods
Changed(FilterChange)
public void Changed(FilterChange change)
Parameters
changeFilterChange
GetGType()
public static Type GetGType()
Returns
GetStrictness()
public FilterMatch GetStrictness()
Returns
Match(Object)
public bool Match(Object item)
Parameters
itemObject
Returns
NewFromPointer(nint, bool)
Creates a new managed Filter instance for a given pointer.
public static Filter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Filter and sets the properties specified by the construct arguments.
public static Filter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnChanged
public event SignalHandler<Filter, Filter.ChangedSignalArgs> OnChanged