File docs/luadoc/goo.checkbox.luadoc

Draws a checkbox.
The checkbox is simply two images in the skin folder. To change the look, change the image rather than override the draw function.

Functions

goo.checkbox:isChecked () Gets if the checkbox is checked.
goo.checkbox:setChecked (checked) Set if the checkbox is checked


Functions

goo.checkbox:isChecked ( )

Gets if the checkbox is checked.

Return value:

bool: true if checked, false if not.

goo.checkbox:setChecked ( checked )

Set if the checkbox is checked

Parameters

  • checked :bool
    true to check, false to not.

Valid XHTML 1.0!