Module druid.radio_group

Radio group module

Functions

init(node, callback[, click=node]) Component init function
set_state(state) Set radio group state
get_state() Return radio group state

Tables

Events Component events
Fields Component fields


Functions

init(node, callback[, click=node])
Component init function

Parameters:

  • node node[] Array of gui node
  • callback function Radio callback
  • click node[] node Array of trigger nodes, by default equals to nodes (default node)
set_state(state)
Set radio group state

Parameters:

  • state bool[] Array of checkbox state
get_state()
Return radio group state

Returns:

    bool[] Array if checkboxes state

Tables

Events
Component events

Fields:

  • on_radio_click druid_event On any checkbox click
Fields
Component fields

Fields:

  • checkboxes table Array of checkbox components
generated by LDoc 1.4.6 Last updated 2020-03-22 15:19:02