summaryrefslogtreecommitdiff
path: root/doc/classes/Slider.xml
blob: b9b2b98549f28d8e295664872f81c710cd081c3c (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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Slider" inherits="Range" category="Core" version="3.0.alpha.custom_build">
	<brief_description>
		Base class for GUI Sliders.
	</brief_description>
	<description>
		Base class for GUI Sliders.
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_ticks" qualifiers="const">
			<return type="int">
			</return>
			<description>
				Return amounts of ticks to display on slider.
			</description>
		</method>
		<method name="get_ticks_on_borders" qualifiers="const">
			<return type="bool">
			</return>
			<description>
				Return true if ticks are visible on borders.
			</description>
		</method>
		<method name="is_editable" qualifiers="const">
			<return type="bool">
			</return>
			<description>
			</description>
		</method>
		<method name="set_editable">
			<return type="void">
			</return>
			<argument index="0" name="editable" type="bool">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_ticks">
			<return type="void">
			</return>
			<argument index="0" name="count" type="int">
			</argument>
			<description>
				Set amount of ticks to display in slider.
			</description>
		</method>
		<method name="set_ticks_on_borders">
			<return type="void">
			</return>
			<argument index="0" name="ticks_on_border" type="bool">
			</argument>
			<description>
				Set true if ticks are visible on borders.
			</description>
		</method>
	</methods>
	<members>
		<member name="editable" type="bool" setter="set_editable" getter="is_editable">
		</member>
		<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
		</member>
		<member name="tick_count" type="int" setter="set_ticks" getter="get_ticks">
		</member>
		<member name="ticks_on_borders" type="bool" setter="set_ticks_on_borders" getter="get_ticks_on_borders">
		</member>
	</members>
	<constants>
	</constants>
</class>