Gnome::Gtk4::BoolFilter
Table of Contents
Description§
Gnome::Gtk4::BoolFilter evaluates a boolean Gnome::Gtk4::Expression to determine whether to include items.
Uml Diagram§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/BoolFilter.png> :width<70\%>Class initialization§
new§
:native-object§
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
Code
new-boolfilter§
Creates a new bool filter.
method new-boolfilter ( N-Object() $expression --> Gnome::Gtk4::BoolFilter )
Code
- $expression; (transfer ownership: full) The expression to evaluate.
Methods§
get-expression§
Gets the expression that the filter uses to evaluate if an item should be filtered.
method get-expression (--> N-Object )
Code
Return value; a Gnome::Gtk4::Expression.
get-invert§
Returns whether the filter inverts the expression.
method get-invert (--> Bool )
Code
Return value; True if the filter inverts.
set-expression§
Sets the expression that the filter uses to check if items should be filtered.
The expression must have a value type of G_TYPE_BOOLEAN.
method set-expression ( N-Object() $expression )
Code
- $expression; a Gnome::Gtk4::Expression.
set-invert§
Sets whether the filter should invert the expression.
method set-invert ( Bool() $invert )
Code
- $invert; True to invert.
About my projects, examples and tutorials