set_value


Description:

[ Version ( since = "2.12" ) ]
public abstract void set_value (double new_value)

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 set_current_value 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.

Parameters:

this

a GObject instance that implements AtkValueIface

new_value

a double which is the desired new accessible value.