VScrollBar.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VScrollBar" inherits="ScrollBar" version="3.4">
  3. <brief_description>
  4. Vertical scroll bar.
  5. </brief_description>
  6. <description>
  7. Vertical version of [ScrollBar], which goes from top (min) to bottom (max).
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" override="true" default="0" />
  15. <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" override="true" default="1" />
  16. </members>
  17. <constants>
  18. </constants>
  19. <theme_items>
  20. <theme_item name="decrement" type="Texture">
  21. Icon used as a button to scroll the [ScrollBar] up. Supports custom step using the [member ScrollBar.custom_step] property.
  22. </theme_item>
  23. <theme_item name="decrement_highlight" type="Texture">
  24. Displayed when the mouse cursor hovers over the decrement button.
  25. </theme_item>
  26. <theme_item name="grabber" type="StyleBox">
  27. Used as texture for the grabber, the draggable element representing current scroll.
  28. </theme_item>
  29. <theme_item name="grabber_highlight" type="StyleBox">
  30. Used when the mouse hovers over the grabber.
  31. </theme_item>
  32. <theme_item name="grabber_pressed" type="StyleBox">
  33. Used when the grabber is being dragged.
  34. </theme_item>
  35. <theme_item name="increment" type="Texture">
  36. Icon used as a button to scroll the [ScrollBar] down. Supports custom step using the [member ScrollBar.custom_step] property.
  37. </theme_item>
  38. <theme_item name="increment_highlight" type="Texture">
  39. Displayed when the mouse cursor hovers over the increment button.
  40. </theme_item>
  41. <theme_item name="scroll" type="StyleBox">
  42. Used as background of this [ScrollBar].
  43. </theme_item>
  44. <theme_item name="scroll_focus" type="StyleBox">
  45. Used as background when the [ScrollBar] has the GUI focus.
  46. </theme_item>
  47. </theme_items>
  48. </class>