Table of Contents

Class BoolFilter

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

BoolFilter(CreationData)

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

Parameters

data CreationData

BoolFilter(BoolFilterHandle)

protected BoolFilter(BoolFilterHandle handle)

Parameters

handle BoolFilterHandle

Fields

ExpressionPropertyDefinition

public static readonly Property<Expression?, BoolFilter> ExpressionPropertyDefinition

Field Value

Property<Expression, BoolFilter>

InvertPropertyDefinition

public static readonly Property<bool, BoolFilter> InvertPropertyDefinition

Field Value

Property<bool, BoolFilter>

Properties

Expression

public Expression? Expression { get; set; }

Property Value

Expression

Invert

public bool Invert { get; set; }

Property Value

bool

Methods

GetExpression()

public Expression? GetExpression()

Returns

Expression

GetGType()

public static Type GetGType()

Returns

Type

GetInvert()

public bool GetInvert()

Returns

bool

New(Expression?)

public static BoolFilter New(Expression? expression)

Parameters

expression Expression

Returns

BoolFilter

NewFromPointer(nint, bool)

Creates a new managed BoolFilter instance for a given pointer.

public static BoolFilter NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

BoolFilter

NewWithProperties(ConstructArgument[])

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

public static BoolFilter NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

BoolFilter

SetExpression(Expression?)

public void SetExpression(Expression? expression)

Parameters

expression Expression

SetInvert(bool)

public void SetInvert(bool invert)

Parameters

invert bool