2
0

class_checkbox.rst 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the CheckBox.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_CheckBox:
  6. CheckBox
  7. ========
  8. **Inherits:** :ref:`Button<class_Button>` **<** :ref:`BaseButton<class_BaseButton>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Binary choice user interface widget.
  13. Theme Properties
  14. ----------------
  15. +---------------------------------+--------------------------+
  16. | :ref:`int<class_int>` | check_vadjust |
  17. +---------------------------------+--------------------------+
  18. | :ref:`Texture<class_Texture>` | checked |
  19. +---------------------------------+--------------------------+
  20. | :ref:`StyleBox<class_StyleBox>` | disabled |
  21. +---------------------------------+--------------------------+
  22. | :ref:`StyleBox<class_StyleBox>` | focus |
  23. +---------------------------------+--------------------------+
  24. | :ref:`Font<class_Font>` | font |
  25. +---------------------------------+--------------------------+
  26. | :ref:`Color<class_Color>` | font_color |
  27. +---------------------------------+--------------------------+
  28. | :ref:`Color<class_Color>` | font_color_disabled |
  29. +---------------------------------+--------------------------+
  30. | :ref:`Color<class_Color>` | font_color_hover |
  31. +---------------------------------+--------------------------+
  32. | :ref:`Color<class_Color>` | font_color_hover_pressed |
  33. +---------------------------------+--------------------------+
  34. | :ref:`Color<class_Color>` | font_color_pressed |
  35. +---------------------------------+--------------------------+
  36. | :ref:`StyleBox<class_StyleBox>` | hover |
  37. +---------------------------------+--------------------------+
  38. | :ref:`StyleBox<class_StyleBox>` | hover_pressed |
  39. +---------------------------------+--------------------------+
  40. | :ref:`int<class_int>` | hseparation |
  41. +---------------------------------+--------------------------+
  42. | :ref:`StyleBox<class_StyleBox>` | normal |
  43. +---------------------------------+--------------------------+
  44. | :ref:`StyleBox<class_StyleBox>` | pressed |
  45. +---------------------------------+--------------------------+
  46. | :ref:`Texture<class_Texture>` | radio_checked |
  47. +---------------------------------+--------------------------+
  48. | :ref:`Texture<class_Texture>` | radio_unchecked |
  49. +---------------------------------+--------------------------+
  50. | :ref:`Texture<class_Texture>` | unchecked |
  51. +---------------------------------+--------------------------+
  52. Description
  53. -----------
  54. A checkbox allows the user to make a binary choice (choosing only one of two possible options), for example Answer 'yes' or 'no'.