Gtk.ConstantExpression

g Gtk.ConstantExpression Gtk.ConstantExpression Gtk.Expression Gtk.Expression Gtk.Expression->Gtk.ConstantExpression

Subclasses:

None

Methods

Inherited:

Gtk.Expression (7)

class

new_for_value (value)

get_value ()

Virtual Methods

None

Fields

None

Class Details

class Gtk.ConstantExpression
Bases:

Gtk.Expression

Abstract:

No

A constant value in a GtkExpression.

classmethod new_for_value(value)[source]
Parameters:

value (GObject.Value) – a GValue

Returns:

a new GtkExpression

Return type:

Gtk.ConstantExpression

Creates an expression that always evaluates to the given value.

get_value()[source]
Returns:

the value

Return type:

GObject.Value

Gets the value that a constant expression evaluates to.