optionsSetRangeString

fnbool optionsSetRangeString(string option, string value)

Set option as a range string. The string must be in the format <emphasis>[!]<low>[:<high>]</emphasis> where low and high are #guint values. Values between low and high (both included) will be considered in the range, unless <emphasis>!</emphasis> is used to invert the range.

Parameters

optionthe option identifier
valuethe value to set

Returns

true if option was correctly set or false otherwise.