class_progressbar.rst 2.0 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 ProgressBar.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_ProgressBar:
  6. ProgressBar
  7. ===========
  8. **Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. General purpose progress bar.
  13. Properties
  14. ----------
  15. +-------------------------+--------------------------------------------------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`percent_visible<class_ProgressBar_property_percent_visible>` |
  17. +-------------------------+--------------------------------------------------------------------+
  18. Theme Properties
  19. ----------------
  20. +---------------------------------+-------------------+
  21. | :ref:`StyleBox<class_StyleBox>` | bg |
  22. +---------------------------------+-------------------+
  23. | :ref:`StyleBox<class_StyleBox>` | fg |
  24. +---------------------------------+-------------------+
  25. | :ref:`Font<class_Font>` | font |
  26. +---------------------------------+-------------------+
  27. | :ref:`Color<class_Color>` | font_color |
  28. +---------------------------------+-------------------+
  29. | :ref:`Color<class_Color>` | font_color_shadow |
  30. +---------------------------------+-------------------+
  31. Description
  32. -----------
  33. General purpose progress bar. Shows fill percentage from right to left.
  34. Property Descriptions
  35. ---------------------
  36. .. _class_ProgressBar_property_percent_visible:
  37. - :ref:`bool<class_bool>` **percent_visible**
  38. +----------+----------------------------+
  39. | *Setter* | set_percent_visible(value) |
  40. +----------+----------------------------+
  41. | *Getter* | is_percent_visible() |
  42. +----------+----------------------------+
  43. If ``true``, the fill percentage is displayed on the bar. Default value: ``true``.