set_range_string


Description:


[ Version ( since = "2.24" ) ]
public bool set_range_string (string option, string value)

Set option as a range string.

The string must be in the format <emphasis>[!]&lt;low&gt;[:&lt;high&gt;]</emphasis> where low and high are Signal values. Values between low and high (both included) will be considered in the range, unless < emphasis>!</emphasis> is used to invert the range.

Parameters:

option

the option identifier

value

the value to set

Returns:

true if option was correctly set or false otherwise.


Namespace: JSC.Options



2022 vala-language.org