goo.checkbox.luadoc 442 B

123456789101112131415
  1. --[[ Draws a checkbox.
  2. <br/>The checkbox is simply two images in the skin folder. To change the look, change the image
  3. rather than override the draw function.
  4. ]]
  5. module 'goo.checkbox'
  6. --[[ Gets if the checkbox is checked.
  7. @return bool: true if checked, false if not.
  8. ]]
  9. function goo.checkbox:isChecked()
  10. --[[ Set if the checkbox is checked
  11. @param checked:bool true to check, false to not.
  12. ]]
  13. function goo.checkbox:setChecked( checked )