ConstantExpression#

class ConstantExpression(*args, **kwargs)#

Superclasses: Expression

A constant value in a GtkExpression.

Constructors#

class ConstantExpression
classmethod new_for_value(value: Any) ConstantExpression#

Creates an expression that always evaluates to the given value.

Parameters:

value – a GValue

Methods#

class ConstantExpression
get_value() Any#

Gets the value that a constant expression evaluates to.