Option
Pedro Gimeno edited this page 5 years ago

A shortcut for a button, which, when clicked, sets parent.value to element.value and indicates its selected state by changing its colour.

local element = Gspot:option(label, pos, parent, value)

Additional constructor arguments:

  • variable value this option's value.

Additional fields:

  • variable value this option's value.

Reserved behaviours: click