class_editorspinslider.rst 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the EditorSpinSlider.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_EditorSpinSlider:
  6. EditorSpinSlider
  7. ================
  8. **Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. Godot editor's control for editing numeric values.
  10. Description
  11. -----------
  12. 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.
  13. Properties
  14. ----------
  15. +------------------------------------------+-------------------------------------------------------------+---------------------------+
  16. | :ref:`bool<class_bool>` | :ref:`flat<class_EditorSpinSlider_property_flat>` | ``false`` |
  17. +------------------------------------------+-------------------------------------------------------------+---------------------------+
  18. | :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | ``2`` *(parent override)* |
  19. +------------------------------------------+-------------------------------------------------------------+---------------------------+
  20. | :ref:`String<class_String>` | :ref:`label<class_EditorSpinSlider_property_label>` | ``""`` |
  21. +------------------------------------------+-------------------------------------------------------------+---------------------------+
  22. | :ref:`bool<class_bool>` | :ref:`read_only<class_EditorSpinSlider_property_read_only>` | ``false`` |
  23. +------------------------------------------+-------------------------------------------------------------+---------------------------+
  24. Property Descriptions
  25. ---------------------
  26. .. _class_EditorSpinSlider_property_flat:
  27. - :ref:`bool<class_bool>` **flat**
  28. +-----------+-----------------+
  29. | *Default* | ``false`` |
  30. +-----------+-----------------+
  31. | *Setter* | set_flat(value) |
  32. +-----------+-----------------+
  33. | *Getter* | is_flat() |
  34. +-----------+-----------------+
  35. ----
  36. .. _class_EditorSpinSlider_property_label:
  37. - :ref:`String<class_String>` **label**
  38. +-----------+------------------+
  39. | *Default* | ``""`` |
  40. +-----------+------------------+
  41. | *Setter* | set_label(value) |
  42. +-----------+------------------+
  43. | *Getter* | get_label() |
  44. +-----------+------------------+
  45. ----
  46. .. _class_EditorSpinSlider_property_read_only:
  47. - :ref:`bool<class_bool>` **read_only**
  48. +-----------+----------------------+
  49. | *Default* | ``false`` |
  50. +-----------+----------------------+
  51. | *Setter* | set_read_only(value) |
  52. +-----------+----------------------+
  53. | *Getter* | is_read_only() |
  54. +-----------+----------------------+
  55. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  56. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  57. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`