Gnome::Gtk4::ConstantExpression
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Description
A constant value in a Gnome::Gtk4::Expression.
Uml Diagram
=end rakudoc
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
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! )
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
new-constantexpression
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!
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
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
=end rakudoc
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Methods =end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
get-value
Gets the value that a constant expression evaluates to.
method get-value (--> N-Object )
Return value; the value.
=end rakudoc