mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
Currently including `zh_CN` and `es` which both have very high completion ratios. Others will be added once they reach a significant percentage too. These RST files will be used by godot-docs in place of its `classes` folder after we sync with https://github.com/godotengine/godot-docs/pull/5458. The update workflow is manual for now (example for `zh_CN`): - Build `godotengine/godot` in the branch we currently track (now `3.x`) - Run `godot --doctool -l zh_CN` - Run `cd doc && make rst LANGARG=zh_CN` - Copy `doc/_build/rst/*` to `classes/zh_CN/` here - Make sure to have `classes/zh_CN/index.rst` copied from `docs/classes`
80 lines
3.8 KiB
ReStructuredText
80 lines
3.8 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the EditorSpinSlider.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_EditorSpinSlider:
|
|
|
|
EditorSpinSlider
|
|
================
|
|
|
|
**Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
|
|
|
Godot editor's control for editing numeric values.
|
|
|
|
Descripción
|
|
----------------------
|
|
|
|
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.
|
|
|
|
Propiedades
|
|
----------------------
|
|
|
|
+------------------------------------------+-------------------------------------------------------------+---------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`flat<class_EditorSpinSlider_property_flat>` | ``false`` |
|
|
+------------------------------------------+-------------------------------------------------------------+---------------------------------------------------------------------+
|
|
| :ref:`FocusMode<enum_Control_FocusMode>` | focus_mode | ``2`` (overrides :ref:`Control<class_Control_property_focus_mode>`) |
|
|
+------------------------------------------+-------------------------------------------------------------+---------------------------------------------------------------------+
|
|
| :ref:`String<class_String>` | :ref:`label<class_EditorSpinSlider_property_label>` | ``""`` |
|
|
+------------------------------------------+-------------------------------------------------------------+---------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`read_only<class_EditorSpinSlider_property_read_only>` | ``false`` |
|
|
+------------------------------------------+-------------------------------------------------------------+---------------------------------------------------------------------+
|
|
|
|
Descripciones de Propiedades
|
|
--------------------------------------------------------
|
|
|
|
.. _class_EditorSpinSlider_property_flat:
|
|
|
|
- :ref:`bool<class_bool>` **flat**
|
|
|
|
+-----------+-----------------+
|
|
| *Default* | ``false`` |
|
|
+-----------+-----------------+
|
|
| *Setter* | set_flat(value) |
|
|
+-----------+-----------------+
|
|
| *Getter* | is_flat() |
|
|
+-----------+-----------------+
|
|
|
|
----
|
|
|
|
.. _class_EditorSpinSlider_property_label:
|
|
|
|
- :ref:`String<class_String>` **label**
|
|
|
|
+-----------+------------------+
|
|
| *Default* | ``""`` |
|
|
+-----------+------------------+
|
|
| *Setter* | set_label(value) |
|
|
+-----------+------------------+
|
|
| *Getter* | get_label() |
|
|
+-----------+------------------+
|
|
|
|
----
|
|
|
|
.. _class_EditorSpinSlider_property_read_only:
|
|
|
|
- :ref:`bool<class_bool>` **read_only**
|
|
|
|
+-----------+----------------------+
|
|
| *Default* | ``false`` |
|
|
+-----------+----------------------+
|
|
| *Setter* | set_read_only(value) |
|
|
+-----------+----------------------+
|
|
| *Getter* | is_read_only() |
|
|
+-----------+----------------------+
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|