Compilation Units
Tagged Types
A GtkExpression that tries to evaluate each of its expressions until it succeeds.
If all expressions fail to evaluate, the GtkTryExpression's evaluation fails as well.
function Create
(Object : not null access System.Address)
return Gtk_Try_Expression_Record
function Get_Type return Glib.GType
procedure Gtk_New
(Self : out Gtk_Try_Expression;
Expressions : Gtk.Expression.Gtk_Expression_Array)
Creates a GtkExpression with an array of expressions. When evaluated, the GtkTryExpression tries to evaluate each of its expressions until it succeeds. If all expressions fail to evaluate, the GtkTryExpression's evaluation fails as well. The value type of the expressions in the array must match. Since: gtk+ 4.22 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The array of expressions
type Gtk_Try_Expression is access all Gtk_Try_Expression_Record'Class;
type Gtk_Try_Expression_Record is new Gtk_Expression_Record with null record;
procedure Initialize
(Self : not null access Gtk_Try_Expression_Record'Class;
Expressions : Gtk.Expression.Gtk_Expression_Array)
Creates a GtkExpression with an array of expressions. When evaluated, the GtkTryExpression tries to evaluate each of its expressions until it succeeds. If all expressions fail to evaluate, the GtkTryExpression's evaluation fails as well. The value type of the expressions in the array must match. Since: gtk+ 4.22 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
The array of expressions