Option
Pedro Gimeno 於 6 年之前 修改了此頁面

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