class_scrollbar.rst 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the ScrollBar.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_ScrollBar:
  5. ScrollBar
  6. =========
  7. **Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  8. **Inherited By:** :ref:`HScrollBar<class_HScrollBar>`, :ref:`VScrollBar<class_VScrollBar>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Base class for scroll bars.
  13. Properties
  14. ----------
  15. +---------------------------+----------------------------------------------------------+
  16. | :ref:`float<class_float>` | :ref:`custom_step<class_ScrollBar_property_custom_step>` |
  17. +---------------------------+----------------------------------------------------------+
  18. Signals
  19. -------
  20. .. _class_ScrollBar_signal_scrolling:
  21. - **scrolling** **(** **)**
  22. Emitted whenever the scrollbar is being scrolled.
  23. Description
  24. -----------
  25. Scrollbars are a :ref:`Range<class_Range>` based :ref:`Control<class_Control>`, that display a draggable area (the size of the page). Horizontal (:ref:`HScrollBar<class_HScrollBar>`) and Vertical (:ref:`VScrollBar<class_VScrollBar>`) versions are available.
  26. Property Descriptions
  27. ---------------------
  28. .. _class_ScrollBar_property_custom_step:
  29. - :ref:`float<class_float>` **custom_step**
  30. +----------+------------------------+
  31. | *Setter* | set_custom_step(value) |
  32. +----------+------------------------+
  33. | *Getter* | get_custom_step() |
  34. +----------+------------------------+