Module CheckboxGroup

Checkbox group module

Example Link

Functions

get_state(self) Return checkbox group state
init(self, nodes, callback[, click_nodes=node]) Component init function
set_state(self, indexes, is_instant) Set checkbox group state

Fields

checkboxes Array of checkbox components
on_checkbox_click On any checkbox click callback(self, index)


Functions

get_state(self)
Return checkbox group state

Parameters:

Returns:

    bool[] Array if checkboxes state
init(self, nodes, callback[, click_nodes=node])
Component init function

Parameters:

  • self CheckboxGroup CheckboxGroup
  • nodes node[] Array of gui node
  • callback function Checkbox callback
  • click_nodes node[] Array of trigger nodes, by default equals to nodes (default node)
set_state(self, indexes, is_instant)
Set checkbox group state

Parameters:

  • self CheckboxGroup CheckboxGroup
  • indexes bool[] Array of checkbox state
  • is_instant boolean If instant state change

Fields

checkboxes
Array of checkbox components
on_checkbox_click
On any checkbox click callback(self, index)
generated by LDoc TESTING Last updated 2015-01-01 12:00:00