class_checkbutton.rst 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the CheckButton.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_CheckButton:
  5. CheckButton
  6. ===========
  7. **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>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Checkable button.
  12. Theme Properties
  13. ----------------
  14. +---------------------------------+--------------------------+
  15. | :ref:`int<class_int>` | check_vadjust |
  16. +---------------------------------+--------------------------+
  17. | :ref:`StyleBox<class_StyleBox>` | disabled |
  18. +---------------------------------+--------------------------+
  19. | :ref:`StyleBox<class_StyleBox>` | focus |
  20. +---------------------------------+--------------------------+
  21. | :ref:`Font<class_Font>` | font |
  22. +---------------------------------+--------------------------+
  23. | :ref:`Color<class_Color>` | font_color |
  24. +---------------------------------+--------------------------+
  25. | :ref:`Color<class_Color>` | font_color_disabled |
  26. +---------------------------------+--------------------------+
  27. | :ref:`Color<class_Color>` | font_color_hover |
  28. +---------------------------------+--------------------------+
  29. | :ref:`Color<class_Color>` | font_color_hover_pressed |
  30. +---------------------------------+--------------------------+
  31. | :ref:`Color<class_Color>` | font_color_pressed |
  32. +---------------------------------+--------------------------+
  33. | :ref:`StyleBox<class_StyleBox>` | hover |
  34. +---------------------------------+--------------------------+
  35. | :ref:`StyleBox<class_StyleBox>` | hover_pressed |
  36. +---------------------------------+--------------------------+
  37. | :ref:`int<class_int>` | hseparation |
  38. +---------------------------------+--------------------------+
  39. | :ref:`StyleBox<class_StyleBox>` | normal |
  40. +---------------------------------+--------------------------+
  41. | :ref:`Texture<class_Texture>` | off |
  42. +---------------------------------+--------------------------+
  43. | :ref:`Texture<class_Texture>` | off_disabled |
  44. +---------------------------------+--------------------------+
  45. | :ref:`Texture<class_Texture>` | on |
  46. +---------------------------------+--------------------------+
  47. | :ref:`Texture<class_Texture>` | on_disabled |
  48. +---------------------------------+--------------------------+
  49. | :ref:`StyleBox<class_StyleBox>` | pressed |
  50. +---------------------------------+--------------------------+
  51. Description
  52. -----------
  53. CheckButton is a toggle button displayed as a check field.