class_checkbutton.rst 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 CheckButton.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_CheckButton:
  6. CheckButton
  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. Checkable button.
  13. Theme Properties
  14. ----------------
  15. +---------------------------------+--------------------------+
  16. | :ref:`int<class_int>` | check_vadjust |
  17. +---------------------------------+--------------------------+
  18. | :ref:`StyleBox<class_StyleBox>` | disabled |
  19. +---------------------------------+--------------------------+
  20. | :ref:`StyleBox<class_StyleBox>` | focus |
  21. +---------------------------------+--------------------------+
  22. | :ref:`Font<class_Font>` | font |
  23. +---------------------------------+--------------------------+
  24. | :ref:`Color<class_Color>` | font_color |
  25. +---------------------------------+--------------------------+
  26. | :ref:`Color<class_Color>` | font_color_disabled |
  27. +---------------------------------+--------------------------+
  28. | :ref:`Color<class_Color>` | font_color_hover |
  29. +---------------------------------+--------------------------+
  30. | :ref:`Color<class_Color>` | font_color_hover_pressed |
  31. +---------------------------------+--------------------------+
  32. | :ref:`Color<class_Color>` | font_color_pressed |
  33. +---------------------------------+--------------------------+
  34. | :ref:`StyleBox<class_StyleBox>` | hover |
  35. +---------------------------------+--------------------------+
  36. | :ref:`StyleBox<class_StyleBox>` | hover_pressed |
  37. +---------------------------------+--------------------------+
  38. | :ref:`int<class_int>` | hseparation |
  39. +---------------------------------+--------------------------+
  40. | :ref:`StyleBox<class_StyleBox>` | normal |
  41. +---------------------------------+--------------------------+
  42. | :ref:`Texture<class_Texture>` | off |
  43. +---------------------------------+--------------------------+
  44. | :ref:`Texture<class_Texture>` | on |
  45. +---------------------------------+--------------------------+
  46. | :ref:`StyleBox<class_StyleBox>` | pressed |
  47. +---------------------------------+--------------------------+
  48. Description
  49. -----------
  50. CheckButton is a toggle button displayed as a check field.