loon (version 1.3.3)

l_setOption: Set the value of a loon display option

Description

All of loon's displays access a set of common options. This function assigns the value to the named option.

Usage

l_setOption(option, value)

Arguments

option

the name of the option being set

value

the value to be assigned to the option. If value == "default", then the option is set to loon's default value for it.

Value

the new value

See Also

l_getOption, l_getOptionNames, l_userOptions, l_userOptionDefault

Examples

Run this code
# NOT RUN {
l_setOption("select-color", "red")
l_setOption("select-color", "default")

# }

Run the code above in your browser using DataLab