About all my projects
Gnome::Gtk4::ConstantExpression

Gnome::Gtk4::ConstantExpression

Description

A constant value in a Gnome::Gtk4::Expression.

Uml Diagram

No caption

Class initialization

new

:native-object

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )

new-constantexpression This function is not yet available

Creates a Gnome::Gtk4::Expression that evaluates to the object given by the arguments.

method new-constantexpression ( GType $value-type, … --> Gnome::Gtk4::ConstantExpression )
  • $value-type; The type of the object.

  • …; …. Note that each argument must be specified as a type followed by its value!

new-for-value

Creates an expression that always evaluates to the given value.

method new-for-value ( N-Object $value --> Gnome::Gtk4::ConstantExpression )
  • $value; a Gnome::GObject::N-Value

Methods

get-value

Gets the value that a constant expression evaluates to.

method get-value (--> N-Object )

Return value; the value.