2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2017-11-15 18:37:54 +01:00
|
|
|
<class name="SpinBox" inherits="Range" category="Core" version="3.0-alpha">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
|
|
|
Numerical input text field.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
SpinBox is a numerical input text field. It allows entering integers and floats.
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_line_edit">
|
|
|
|
<return type="LineEdit">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_prefix" qualifiers="const">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_suffix" qualifiers="const">
|
|
|
|
<return type="String">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
Return the specific suffix.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="is_editable" qualifiers="const">
|
|
|
|
<return type="bool">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
Return if the spinbox is editable.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_editable">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="editable" type="bool">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
Set whether the spinbox is editable.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_prefix">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="prefix" type="String">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
Set a prefix.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_suffix">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="suffix" type="String">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
Set a specific suffix.
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="prefix" type="String" setter="set_prefix" getter="get_prefix">
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
2017-09-13 08:49:40 +02:00
|
|
|
<member name="suffix" type="String" setter="set_suffix" getter="get_suffix">
|
2017-09-12 22:42:36 +02:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
<theme_items>
|
|
|
|
<theme_item name="updown" type="Texture">
|
|
|
|
</theme_item>
|
|
|
|
</theme_items>
|
|
|
|
</class>
|