.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_SpinBox: SpinBox ======= **Inherits:** :ref:`Range` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Numerical input text field. Member Functions ---------------- +----------------------------------+------------------------------------------------------------------------------------------------+ | :ref:`LineEdit` | :ref:`get_line_edit` **(** **)** | +----------------------------------+------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_prefix` **(** **)** const | +----------------------------------+------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_suffix` **(** **)** const | +----------------------------------+------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_editable` **(** **)** const | +----------------------------------+------------------------------------------------------------------------------------------------+ | void | :ref:`set_editable` **(** :ref:`bool` editable **)** | +----------------------------------+------------------------------------------------------------------------------------------------+ | void | :ref:`set_prefix` **(** :ref:`String` prefix **)** | +----------------------------------+------------------------------------------------------------------------------------------------+ | void | :ref:`set_suffix` **(** :ref:`String` suffix **)** | +----------------------------------+------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`bool` **editable** - :ref:`String` **prefix** - :ref:`String` **suffix** Description ----------- SpinBox is a numerical input text field. It allows entering integers and floats. Member Function Description --------------------------- .. _class_SpinBox_get_line_edit: - :ref:`LineEdit` **get_line_edit** **(** **)** .. _class_SpinBox_get_prefix: - :ref:`String` **get_prefix** **(** **)** const .. _class_SpinBox_get_suffix: - :ref:`String` **get_suffix** **(** **)** const Return the specific suffix. .. _class_SpinBox_is_editable: - :ref:`bool` **is_editable** **(** **)** const Return if the spinbox is editable. .. _class_SpinBox_set_editable: - void **set_editable** **(** :ref:`bool` editable **)** Set whether the spinbox is editable. .. _class_SpinBox_set_prefix: - void **set_prefix** **(** :ref:`String` prefix **)** Set a prefix. .. _class_SpinBox_set_suffix: - void **set_suffix** **(** :ref:`String` suffix **)** Set a specific suffix.