class_spinbox.rst 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the SpinBox.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_SpinBox:
  5. SpinBox
  6. =======
  7. **Inherits:** :ref:`Range<class_Range>` **<** :ref:`Control<class_Control>` **<** :ref:`CanvasItem<class_CanvasItem>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Numerical input text field.
  12. Properties
  13. ----------
  14. +-----------------------------------+--------------------------------------------------+
  15. | :ref:`Align<enum_LineEdit_Align>` | :ref:`align<class_SpinBox_property_align>` |
  16. +-----------------------------------+--------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`editable<class_SpinBox_property_editable>` |
  18. +-----------------------------------+--------------------------------------------------+
  19. | :ref:`String<class_String>` | :ref:`prefix<class_SpinBox_property_prefix>` |
  20. +-----------------------------------+--------------------------------------------------+
  21. | :ref:`String<class_String>` | :ref:`suffix<class_SpinBox_property_suffix>` |
  22. +-----------------------------------+--------------------------------------------------+
  23. Methods
  24. -------
  25. +---------------------------------+----------------------------------------------------------------------+
  26. | :ref:`LineEdit<class_LineEdit>` | :ref:`get_line_edit<class_SpinBox_method_get_line_edit>` **(** **)** |
  27. +---------------------------------+----------------------------------------------------------------------+
  28. Theme Properties
  29. ----------------
  30. +-------------------------------+--------+
  31. | :ref:`Texture<class_Texture>` | updown |
  32. +-------------------------------+--------+
  33. Description
  34. -----------
  35. SpinBox is a numerical input text field. It allows entering integers and floats.
  36. Property Descriptions
  37. ---------------------
  38. .. _class_SpinBox_property_align:
  39. - :ref:`Align<enum_LineEdit_Align>` **align**
  40. +----------+------------------+
  41. | *Setter* | set_align(value) |
  42. +----------+------------------+
  43. | *Getter* | get_align() |
  44. +----------+------------------+
  45. .. _class_SpinBox_property_editable:
  46. - :ref:`bool<class_bool>` **editable**
  47. +----------+---------------------+
  48. | *Setter* | set_editable(value) |
  49. +----------+---------------------+
  50. | *Getter* | is_editable() |
  51. +----------+---------------------+
  52. .. _class_SpinBox_property_prefix:
  53. - :ref:`String<class_String>` **prefix**
  54. +----------+-------------------+
  55. | *Setter* | set_prefix(value) |
  56. +----------+-------------------+
  57. | *Getter* | get_prefix() |
  58. +----------+-------------------+
  59. .. _class_SpinBox_property_suffix:
  60. - :ref:`String<class_String>` **suffix**
  61. +----------+-------------------+
  62. | *Setter* | set_suffix(value) |
  63. +----------+-------------------+
  64. | *Getter* | get_suffix() |
  65. +----------+-------------------+
  66. Method Descriptions
  67. -------------------
  68. .. _class_SpinBox_method_get_line_edit:
  69. - :ref:`LineEdit<class_LineEdit>` **get_line_edit** **(** **)**