VScrollBar.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VScrollBar" inherits="ScrollBar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  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" overrides="Control" default="0" />
  15. <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="1" />
  16. </members>
  17. <constants>
  18. </constants>
  19. <theme_items>
  20. <theme_item name="decrement" data_type="icon" 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" data_type="icon" type="Texture">
  24. Displayed when the mouse cursor hovers over the decrement button.
  25. </theme_item>
  26. <theme_item name="decrement_pressed" data_type="icon" type="Texture">
  27. Displayed when the decrement button is being pressed.
  28. </theme_item>
  29. <theme_item name="increment" data_type="icon" type="Texture">
  30. Icon used as a button to scroll the [ScrollBar] down. Supports custom step using the [member ScrollBar.custom_step] property.
  31. </theme_item>
  32. <theme_item name="increment_highlight" data_type="icon" type="Texture">
  33. Displayed when the mouse cursor hovers over the increment button.
  34. </theme_item>
  35. <theme_item name="increment_pressed" data_type="icon" type="Texture">
  36. Displayed when the increment button is being pressed.
  37. </theme_item>
  38. <theme_item name="grabber" data_type="style" type="StyleBox">
  39. Used as texture for the grabber, the draggable element representing current scroll.
  40. </theme_item>
  41. <theme_item name="grabber_highlight" data_type="style" type="StyleBox">
  42. Used when the mouse hovers over the grabber.
  43. </theme_item>
  44. <theme_item name="grabber_pressed" data_type="style" type="StyleBox">
  45. Used when the grabber is being dragged.
  46. </theme_item>
  47. <theme_item name="scroll" data_type="style" type="StyleBox">
  48. Used as background of this [ScrollBar].
  49. </theme_item>
  50. <theme_item name="scroll_focus" data_type="style" type="StyleBox">
  51. Used as background when the [ScrollBar] has the GUI focus.
  52. </theme_item>
  53. </theme_items>
  54. </class>