Module controls.checkbox

Checkbox module

Functions

Checkbox:Toggle () Toggles the checked state

Tables

Checkbox Checkbox fields.


Functions

Checkbox:Toggle ()
Toggles the checked state

Tables

Checkbox
Checkbox fields. Inherits from Control.

Fields:

  • checked bool checkbox checked state (default true)
  • caption string caption to appear in the checkbox (default "text")
  • textalign string text alignment (default "left")
  • boxalign string box alignment (default "right")
  • boxsize int box size (default 10)
  • textColor {r,g,b,a} text color, (default {0,0,0,1})
  • OnChange {func1,func2,...} listener functions for checked state changes, (default {})

See also:

generated by LDoc 1.4.0