Files
godot-docs/classes/class_spinbox.rst
2018-09-21 09:49:38 +02:00

89 lines
2.6 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the SpinBox.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_SpinBox:
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:`bool<class_bool>` | :ref:`editable<class_SpinBox_editable>` |
+-----------------------------+-----------------------------------------+
| :ref:`String<class_String>` | :ref:`prefix<class_SpinBox_prefix>` |
+-----------------------------+-----------------------------------------+
| :ref:`String<class_String>` | :ref:`suffix<class_SpinBox_suffix>` |
+-----------------------------+-----------------------------------------+
Methods
-------
+----------------------------------+---------------------------------------------------------------+
| :ref:`LineEdit<class_LineEdit>` | :ref:`get_line_edit<class_SpinBox_get_line_edit>` **(** **)** |
+----------------------------------+---------------------------------------------------------------+
Theme Properties
----------------
+-------------------------------+-------------------------------------+
| :ref:`Texture<class_Texture>` | :ref:`updown<class_SpinBox_updown>` |
+-------------------------------+-------------------------------------+
Description
-----------
SpinBox is a numerical input text field. It allows entering integers and floats.
Property Descriptions
---------------------
.. _class_SpinBox_editable:
- :ref:`bool<class_bool>` **editable**
+----------+---------------------+
| *Setter* | set_editable(value) |
+----------+---------------------+
| *Getter* | is_editable() |
+----------+---------------------+
.. _class_SpinBox_prefix:
- :ref:`String<class_String>` **prefix**
+----------+-------------------+
| *Setter* | set_prefix(value) |
+----------+-------------------+
| *Getter* | get_prefix() |
+----------+-------------------+
.. _class_SpinBox_suffix:
- :ref:`String<class_String>` **suffix**
+----------+-------------------+
| *Setter* | set_suffix(value) |
+----------+-------------------+
| *Getter* | get_suffix() |
+----------+-------------------+
Method Descriptions
-------------------
.. _class_SpinBox_get_line_edit:
- :ref:`LineEdit<class_LineEdit>` **get_line_edit** **(** **)**