Compilation Units
Tagged Types
Evaluates a boolean expression to determine whether to include items.
function Get_Expression
(Self : not null access Gtk_Bool_Filter_Record)
return Gtk.Expression.Gtk_Expression
Gets the expression that the filter evaluates for each item.
the expression. Has transfer-ownership='none'.
function Get_Invert
(Self : not null access Gtk_Bool_Filter_Record) return Boolean
Returns whether the filter inverts the expression.
true if the filter inverts
function Get_Type return Glib.GType
type Gtk_Bool_Filter is access all Gtk_Bool_Filter_Record'Class;
function Gtk_Bool_Filter_New
(Expression : Gtk.Expression.Gtk_Expression) return Gtk_Bool_Filter
Creates a new bool filter.
the expression to evaluate. Has transfer-ownership='full'.
type Gtk_Bool_Filter_Record is new Gtk_Filter_Record with null record;
procedure Gtk_New
(Self : out Gtk_Bool_Filter;
Expression : Gtk.Expression.Gtk_Expression)
Creates a new bool filter. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the expression to evaluate. Has transfer-ownership='full'.
procedure Initialize
(Self : not null access Gtk_Bool_Filter_Record'Class;
Expression : Gtk.Expression.Gtk_Expression)
Creates a new bool filter. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
the expression to evaluate. Has transfer-ownership='full'.
Invert_Property : constant Glib.Properties.Property_Boolean;
If the expression result should be inverted.
procedure Set_Expression
(Self : not null access Gtk_Bool_Filter_Record;
Expression : Gtk.Expression.Gtk_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.
the expression
procedure Set_Invert
(Self : not null access Gtk_Bool_Filter_Record;
Invert : Boolean)
Sets whether the filter should invert the expression.
true to invert