Gtk.ConstantExpression – gtk4 Reference Manual
Packages
gtk4
Gtk
ConstantExpression
ConstantExpression
ConstantExpression.for_value
get_value
ConstantExpression
Object Hierarchy:
Description:
[
CCode
( type_id =
"gtk_constant_expression_get_type ()"
) ]
public
class
ConstantExpression
:
Expression
A constant value in a `GtkExpression`.
Namespace:
Gtk
Package:
gtk4
Content:
Creation methods:
public
ConstantExpression
(
Type
value_type, ...)
Creates a `GtkExpression` that evaluates to the object given by the arguments.
public
ConstantExpression.for_value
(
Value
value)
Creates an expression that always evaluates to the given `value`.
Methods:
public
unowned
Value
?
get_value
()
Gets the value that a constant expression evaluates to.
Inherited Members:
All known members inherited from class Gtk.Expression
@ref
bind
evaluate
get_value_type
is_static
unref
watch