ValueT.setValue

Sets the value of this object.

This method is intended to provide a way to change the value of the object. In any case, it is possible that the value can't be modified (ie: a read-only component). If the value changes due this call, it is possible that the text could change, and will trigger an value-changed signal emission.

Note for implementors: the deprecated Value.setCurrentValue method returned TRUE or FALSE depending if the value was assigned or not. In the practice several implementors were not able to decide it, and returned TRUE in any case. For that reason it is not required anymore to return if the value was properly assigned or not.

template ValueT(TStruct)
void
setValue
(
double newValue
)

Parameters

newValue double

a double which is the desired new accessible value.

Meta

Since

2.12