class_editorspinslider.rst 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/EditorSpinSlider.xml.
  6. .. _class_EditorSpinSlider:
  7. EditorSpinSlider
  8. ================
  9. **Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. Godot editor's control for editing numeric values.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This :ref:`Control<class_Control>` node is used in the editor's Inspector dock to allow editing of numeric values. Can be used with :ref:`EditorInspectorPlugin<class_EditorInspectorPlugin>` to recreate the same behavior.
  15. .. rst-class:: classref-reftable-group
  16. Properties
  17. ----------
  18. .. table::
  19. :widths: auto
  20. +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+
  21. | :ref:`bool<class_bool>` | :ref:`flat<class_EditorSpinSlider_property_flat>` | ``false`` |
  22. +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+
  23. | :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | ``2`` (overrides :ref:`Control<class_Control_property_focus_mode>`) |
  24. +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+
  25. | :ref:`bool<class_bool>` | :ref:`hide_slider<class_EditorSpinSlider_property_hide_slider>` | ``false`` |
  26. +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+
  27. | :ref:`String<class_String>` | :ref:`label<class_EditorSpinSlider_property_label>` | ``""`` |
  28. +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+
  29. | :ref:`bool<class_bool>` | :ref:`read_only<class_EditorSpinSlider_property_read_only>` | ``false`` |
  30. +------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------------------+
  31. .. rst-class:: classref-section-separator
  32. ----
  33. .. rst-class:: classref-descriptions-group
  34. Property Descriptions
  35. ---------------------
  36. .. _class_EditorSpinSlider_property_flat:
  37. .. rst-class:: classref-property
  38. :ref:`bool<class_bool>` **flat** = ``false``
  39. .. rst-class:: classref-property-setget
  40. - void **set_flat** **(** :ref:`bool<class_bool>` value **)**
  41. - :ref:`bool<class_bool>` **is_flat** **(** **)**
  42. .. container:: contribute
  43. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  44. .. rst-class:: classref-item-separator
  45. ----
  46. .. _class_EditorSpinSlider_property_hide_slider:
  47. .. rst-class:: classref-property
  48. :ref:`bool<class_bool>` **hide_slider** = ``false``
  49. .. rst-class:: classref-property-setget
  50. - void **set_hide_slider** **(** :ref:`bool<class_bool>` value **)**
  51. - :ref:`bool<class_bool>` **is_hiding_slider** **(** **)**
  52. If ``true``, the slider is hidden.
  53. .. rst-class:: classref-item-separator
  54. ----
  55. .. _class_EditorSpinSlider_property_label:
  56. .. rst-class:: classref-property
  57. :ref:`String<class_String>` **label** = ``""``
  58. .. rst-class:: classref-property-setget
  59. - void **set_label** **(** :ref:`String<class_String>` value **)**
  60. - :ref:`String<class_String>` **get_label** **(** **)**
  61. .. container:: contribute
  62. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  63. .. rst-class:: classref-item-separator
  64. ----
  65. .. _class_EditorSpinSlider_property_read_only:
  66. .. rst-class:: classref-property
  67. :ref:`bool<class_bool>` **read_only** = ``false``
  68. .. rst-class:: classref-property-setget
  69. - void **set_read_only** **(** :ref:`bool<class_bool>` value **)**
  70. - :ref:`bool<class_bool>` **is_read_only** **(** **)**
  71. .. container:: contribute
  72. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  73. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  74. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  75. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  76. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`