Class: Gtk::ConstantExpression

Inherits:
Expression show all
Defined in:
(unknown)

Overview

A constant value in a GtkExpression.

Instance Method Summary collapse

Methods inherited from Expression

#bind, #evaluate, #is_static, #ref, #unref, #value_type, #watch

Constructor Details

#initialize(value) ⇒ Gtk::ConstantExpression

Creates an expression that always evaluates to the given value.

Parameters:

  • value (GObject::Value)

    a GValue

Instance Method Details

#valueGObject::Value

Gets the value that a constant expression evaluates to.

Returns:

  • (GObject::Value)

    the value