Gui class define for checkboxs and radiobuttons [[
Checkbox.new_checkbox([name]) | Creates a new checkbox element define |
Checkbox.new_radiobutton([name]) | Creates a new radiobutton element define, has all functions checkbox has |
Checkbox._prototype_radiobutton:add_as_option(option_set, option_name) | Adds this radiobutton to be an option in the given option set (only one can be true at a time) |
Checkbox._prototype_radiobutton:get_store(category, internal) | Gets the stored value of the radiobutton or the option set if present |
Checkbox._prototype_radiobutton:set_store(category, value, internal) | Sets the stored value of the radiobutton or the option set if present |
Checkbox.new_option_set(name, callback, categorize) | Registers a new option set that can be linked to radiobutotns (only one can be true at a time) |
Checkbox.draw_option_set(name, element) | Draws all radiobuttons that are part of an option set at once (Gui.draw will not work) |
Checkbox.reset_radiobuttons(element[, exclude][, recursive=false]) | Sets all radiobutotn in a element to false (unless excluded) and can act recursivly |
Creates a new checkbox element define
Parameters:Creates a new radiobutton element define, has all functions checkbox has
Parameters:Adds this radiobutton to be an option in the given option set (only one can be true at a time)
Parameters:Gets the stored value of the radiobutton or the option set if present
Parameters:Sets the stored value of the radiobutton or the option set if present
Parameters:Registers a new option set that can be linked to radiobutotns (only one can be true at a time)
Parameters:Draws all radiobuttons that are part of an option set at once (Gui.draw will not work)
Parameters:Sets all radiobutotn in a element to false (unless excluded) and can act recursivly
Parameters: