You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CheckButton checked/unchecked icon can be on both sides
If `inverted` is set to true on `CheckButton` the checked/unchecked icon
will be drawn in the right for for right-to-left layouts
or in the left for left-to-right layouts.
Copy file name to clipboardExpand all lines: doc/classes/CheckButton.xml
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,27 @@
9
9
</description>
10
10
<tutorials>
11
11
</tutorials>
12
+
<methods>
13
+
<methodname="set_invert">
14
+
<returntype="bool" />
15
+
<paramindex="0"name="invert"type="bool" />
16
+
<description>
17
+
If [code]true[/code] [theme_item checked]/[theme_item unchecked] will be drawn in the right for for right-to-left layouts or in the left for left-to-right layouts.
18
+
</description>
19
+
</method>
20
+
<methodname="is_invert"qualifiers="const">
21
+
<returntype="bool" />
22
+
<description>
23
+
Returns [code]true[/code] when [theme_item checked]/[theme_item unchecked] is drawn in the right for for right-to-left layouts or in the left for left-to-right layouts.
If [code]true[/code] [theme_item checked]/[theme_item unchecked] will be drawn in the right for for right-to-left layouts or in the left for left-to-right layouts.
0 commit comments