summaryrefslogtreecommitdiffstats
path: root/doc/classes/Tabs.xml
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2021-09-24 01:26:59 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2021-09-24 01:26:59 -0300
commit7ce02b642eee600b7206563030c8feaa8af3fe5b (patch)
treee3288ff5c98f6d4a7cd5c973b67045698f15a06d /doc/classes/Tabs.xml
parent01f692c173b9926ae764a4a4c9a54c266a21272b (diff)
downloadredot-engine-7ce02b642eee600b7206563030c8feaa8af3fe5b.tar.gz
Expose `TabContainer`'s tab hidding for scripts
Diffstat (limited to 'doc/classes/Tabs.xml')
-rw-r--r--doc/classes/Tabs.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/classes/Tabs.xml b/doc/classes/Tabs.xml
index f4c89a8b16..3ee3feb365 100644
--- a/doc/classes/Tabs.xml
+++ b/doc/classes/Tabs.xml
@@ -108,7 +108,7 @@
<return type="String" />
<argument index="0" name="tab_idx" type="int" />
<description>
- Returns the title of the tab at index [code]tab_idx[/code]. Tab titles default to the name of the indexed child node, but this can be overridden with [method set_tab_title].
+ Returns the title of the tab at index [code]tab_idx[/code].
</description>
</method>
<method name="get_tabs_rearrange_group" qualifiers="const">
@@ -144,8 +144,7 @@
<argument index="0" name="tab_idx" type="int" />
<argument index="1" name="disabled" type="bool" />
<description>
- If [code]disabled[/code] is [code]false[/code], hides the tab at index [code]tab_idx[/code].
- [b]Note:[/b] Its title text will remain unless it is also removed with [method set_tab_title].
+ If [code]disabled[/code] is [code]true[/code], disables the tab at index [code]tab_idx[/code], making it non-interactable.
</description>
</method>
<method name="set_tab_icon">
@@ -193,7 +192,7 @@
<return type="void" />
<argument index="0" name="group_id" type="int" />
<description>
- Defines the rearrange group ID. Choose for each [Tabs] the same value to dragging tabs between [Tabs]. Enable drag with [code]set_drag_to_rearrange_enabled(true)[/code].
+ Defines the rearrange group ID. Choose for each [Tabs] the same value to dragging tabs between [Tabs]. Enable drag with [member drag_to_rearrange_enabled].
</description>
</method>
</methods>