SpinBox.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SpinBox" inherits="Range" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Numerical input text field.
  5. </brief_description>
  6. <description>
  7. SpinBox is a numerical input text field. It allows entering integers and floats.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_line_edit">
  15. <return type="LineEdit">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_prefix" qualifiers="const">
  21. <return type="String">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="get_suffix" qualifiers="const">
  27. <return type="String">
  28. </return>
  29. <description>
  30. Return the specific suffix.
  31. </description>
  32. </method>
  33. <method name="is_editable" qualifiers="const">
  34. <return type="bool">
  35. </return>
  36. <description>
  37. Return if the spinbox is editable.
  38. </description>
  39. </method>
  40. <method name="set_editable">
  41. <return type="void">
  42. </return>
  43. <argument index="0" name="editable" type="bool">
  44. </argument>
  45. <description>
  46. Set whether the spinbox is editable.
  47. </description>
  48. </method>
  49. <method name="set_prefix">
  50. <return type="void">
  51. </return>
  52. <argument index="0" name="prefix" type="String">
  53. </argument>
  54. <description>
  55. Set a prefix.
  56. </description>
  57. </method>
  58. <method name="set_suffix">
  59. <return type="void">
  60. </return>
  61. <argument index="0" name="suffix" type="String">
  62. </argument>
  63. <description>
  64. Set a specific suffix.
  65. </description>
  66. </method>
  67. </methods>
  68. <members>
  69. <member name="editable" type="bool" setter="set_editable" getter="is_editable">
  70. </member>
  71. <member name="prefix" type="String" setter="set_prefix" getter="get_prefix">
  72. </member>
  73. <member name="suffix" type="String" setter="set_suffix" getter="get_suffix">
  74. </member>
  75. </members>
  76. <constants>
  77. </constants>
  78. <theme_items>
  79. <theme_item name="updown" type="Texture">
  80. </theme_item>
  81. </theme_items>
  82. </class>