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
constructArgumentsConstructArgument[]
BoolFilter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BoolFilter(CreationData data)
Parameters
dataCreationData
BoolFilter(BoolFilterHandle)
protected BoolFilter(BoolFilterHandle handle)
Parameters
handleBoolFilterHandle
Fields
ExpressionPropertyDefinition
public static readonly Property<Expression?, BoolFilter> ExpressionPropertyDefinition
Field Value
InvertPropertyDefinition
public static readonly Property<bool, BoolFilter> InvertPropertyDefinition
Field Value
Properties
Expression
public Expression? Expression { get; set; }
Property Value
Invert
public bool Invert { get; set; }
Property Value
Methods
GetExpression()
public Expression? GetExpression()
Returns
GetGType()
public static Type GetGType()
Returns
GetInvert()
public bool GetInvert()
Returns
New(Expression?)
public static BoolFilter New(Expression? expression)
Parameters
expressionExpression
Returns
NewFromPointer(nint, bool)
Creates a new managed BoolFilter instance for a given pointer.
public static BoolFilter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new BoolFilter and sets the properties specified by the construct arguments.
public static BoolFilter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetExpression(Expression?)
public void SetExpression(Expression? expression)
Parameters
expressionExpression
SetInvert(bool)
public void SetInvert(bool invert)
Parameters
invertbool