1.36 <GtkConstantExpression>

Class: <GtkConstantExpression>

It derives from <GtkExpression>.

A constant value in a <GtkExpression>.

Procedures

Method: constant-expression:get-value self ⇒ %return
Method: get-value self ⇒ %return

Gets the value that a constant expression evaluates to.

self

Passed: a <GtkConstantExpression>.

a constant <GtkExpression>

%return

Returned: a <GValue>.

the value

Procedure: constant-expression:new-for-value value ⇒ %return

Creates an expression that always evaluates to the given value.

value

Passed: a <GValue>.

a <GValue>

%return

Returned: a <GtkConstantExpression>.

a new <GtkExpression>