mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source
Changes order of brief/long descriptions and removes category as per godotengine/godot#35132.
This commit is contained in:
@@ -11,40 +11,8 @@ SpinBox
|
||||
|
||||
**Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||||
|
||||
**Category:** Core
|
||||
|
||||
Brief Description
|
||||
-----------------
|
||||
|
||||
Numerical input text field.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`Align<enum_LineEdit_Align>` | :ref:`align<class_SpinBox_property_align>` | 0 |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`bool<class_bool>` | :ref:`editable<class_SpinBox_property_editable>` | true |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`String<class_String>` | :ref:`prefix<class_SpinBox_property_prefix>` | "" |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`String<class_String>` | :ref:`suffix<class_SpinBox_property_suffix>` | "" |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+---------------------------------+----------------------------------------------------------------------+
|
||||
| :ref:`LineEdit<class_LineEdit>` | :ref:`get_line_edit<class_SpinBox_method_get_line_edit>` **(** **)** |
|
||||
+---------------------------------+----------------------------------------------------------------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
+-------------------------------+--------+
|
||||
| :ref:`Texture<class_Texture>` | updown |
|
||||
+-------------------------------+--------+
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@@ -64,6 +32,35 @@ The above code will create a ``SpinBox``, disable context menu on it and set the
|
||||
|
||||
See :ref:`Range<class_Range>` class for more options over the ``SpinBox``.
|
||||
|
||||
Properties
|
||||
----------
|
||||
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`Align<enum_LineEdit_Align>` | :ref:`align<class_SpinBox_property_align>` | 0 |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`bool<class_bool>` | :ref:`editable<class_SpinBox_property_editable>` | true |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`String<class_String>` | :ref:`prefix<class_SpinBox_property_prefix>` | "" |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
| :ref:`String<class_String>` | :ref:`suffix<class_SpinBox_property_suffix>` | "" |
|
||||
+-----------------------------------+--------------------------------------------------+------+
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
+---------------------------------+----------------------------------------------------------------------+
|
||||
| void | :ref:`apply<class_SpinBox_method_apply>` **(** **)** |
|
||||
+---------------------------------+----------------------------------------------------------------------+
|
||||
| :ref:`LineEdit<class_LineEdit>` | :ref:`get_line_edit<class_SpinBox_method_get_line_edit>` **(** **)** |
|
||||
+---------------------------------+----------------------------------------------------------------------+
|
||||
|
||||
Theme Properties
|
||||
----------------
|
||||
|
||||
+-------------------------------+--------+
|
||||
| :ref:`Texture<class_Texture>` | updown |
|
||||
+-------------------------------+--------+
|
||||
|
||||
Property Descriptions
|
||||
---------------------
|
||||
|
||||
@@ -132,6 +129,14 @@ Adds the specified ``prefix`` string after the numerical value of the ``SpinBox`
|
||||
Method Descriptions
|
||||
-------------------
|
||||
|
||||
.. _class_SpinBox_method_apply:
|
||||
|
||||
- void **apply** **(** **)**
|
||||
|
||||
Applies the current value of this ``SpinBox``.
|
||||
|
||||
----
|
||||
|
||||
.. _class_SpinBox_method_get_line_edit:
|
||||
|
||||
- :ref:`LineEdit<class_LineEdit>` **get_line_edit** **(** **)**
|
||||
|
||||
Reference in New Issue
Block a user