class_checkbutton.rst 4.5 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 | 0 |
  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 | Color( 0.878431, 0.878431, 0.878431, 1 ) |
  24. +---------------------------------+--------------------------+------------------------------------------+
  25. | :ref:`Color<class_Color>` | font_color_disabled | Color( 0.9, 0.9, 0.9, 0.2 ) |
  26. +---------------------------------+--------------------------+------------------------------------------+
  27. | :ref:`Color<class_Color>` | font_color_hover | Color( 0.941176, 0.941176, 0.941176, 1 ) |
  28. +---------------------------------+--------------------------+------------------------------------------+
  29. | :ref:`Color<class_Color>` | font_color_hover_pressed | Color( 1, 1, 1, 1 ) |
  30. +---------------------------------+--------------------------+------------------------------------------+
  31. | :ref:`Color<class_Color>` | font_color_pressed | Color( 1, 1, 1, 1 ) |
  32. +---------------------------------+--------------------------+------------------------------------------+
  33. | :ref:`StyleBox<class_StyleBox>` | hover | |
  34. +---------------------------------+--------------------------+------------------------------------------+
  35. | :ref:`StyleBox<class_StyleBox>` | hover_pressed | |
  36. +---------------------------------+--------------------------+------------------------------------------+
  37. | :ref:`int<class_int>` | hseparation | 4 |
  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.