summaryrefslogtreecommitdiff
path: root/doc/classes/SpinBox.xml
blob: 31ef1865e94c7e8ac589c688e93a9710e6c1c24b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="UTF-8" ?>
<class name="SpinBox" inherits="Range" category="Core" version="3.0.alpha.custom_build">
	<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>
		<member name="editable" type="bool" setter="set_editable" getter="is_editable">
		</member>
		<member name="prefix" type="String" setter="set_prefix" getter="get_prefix">
		</member>
		<member name="suffix" type="String" setter="set_suffix" getter="get_suffix">
		</member>
	</members>
	<constants>
	</constants>
	<theme_items>
		<theme_item name="updown" type="Texture">
		</theme_item>
	</theme_items>
</class>