Compilation Units
Tagged Types
An opaque structure representing a watched GtkExpression.
The contents of GtkExpressionWatch should only be accessed through the provided API.
function Evaluate
(Self : Gtk_Expression_Watch;
Value : in out Glib.Values.GValue) return Boolean
Evaluates the watched expression and on success stores the result in value. This is equivalent to calling [methodGtk.Expression.evaluate] with the expression and this pointer originally used to create watch.
an empty GValue to be set
TRUE if the expression could be evaluated and value was set
function From_Object (Object : System.Address) return Gtk_Expression_Watch
function From_Object_Free (B : access Gtk_Expression_Watch'Class) return Gtk_Expression_Watch
function Get_Type return Glib.GType
type Gtk_Expression_Watch is new Glib.C_Boxed with null record;
Null_Gtk_Expression_Watch : constant Gtk_Expression_Watch;
function Ref (Self : Gtk_Expression_Watch) return Gtk_Expression_Watch
Acquires a reference on the given GtkExpressionWatch.
the GtkExpressionWatch with an additional reference. Has transfer-ownership='full'.
procedure Unref (Self : Gtk_Expression_Watch)
Releases a reference on the given GtkExpressionWatch. If the reference was the last, the resources associated to self are freed.
has transfer-ownership='full'.
procedure Unwatch (Self : Gtk_Expression_Watch)
Stops watching an expression. See [methodGtk.Expression.watch] for how the watch was established.