From b3864db7e02e0a71683f21c49f0be41931d97b59 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 5 Mar 2022 21:03:01 +0100 Subject: Change tabs_rearrange_group to property --- doc/classes/TabBar.xml | 17 ++++------------- doc/classes/TabContainer.xml | 17 ++++------------- 2 files changed, 8 insertions(+), 26 deletions(-) (limited to 'doc') diff --git a/doc/classes/TabBar.xml b/doc/classes/TabBar.xml index 41e1e255ae..6ddcc2044d 100644 --- a/doc/classes/TabBar.xml +++ b/doc/classes/TabBar.xml @@ -106,12 +106,6 @@ Returns the title of the tab at index [code]tab_idx[/code]. - - - - Returns the [TabBar]'s rearrange group ID. - - @@ -206,13 +200,6 @@ Sets a [code]title[/code] for the tab at index [code]tab_idx[/code]. - - - - - Defines the rearrange group ID. Choose for each [TabBar] the same value to dragging tabs between [TabBar]. Enable drag with [member drag_to_rearrange_enabled]. - - @@ -242,6 +229,10 @@ The number of tabs currently in the bar. + + [TabBar]s with the same rearrange group ID will allow dragging the tabs between them. Enable drag with [member drag_to_rearrange_enabled]. + Setting this to [code]-1[/code] will disable rearranging between [TabBar]s. + diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index 3f4ec81c95..3ff4dffe65 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -71,12 +71,6 @@ 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 [TabContainer] rearrange group id. - - @@ -130,13 +124,6 @@ Sets a custom title for the tab at index [code]tab_idx[/code] (tab titles default to the name of the indexed child node). Set it to blank to make it the child's name again. - - - - - Defines rearrange group id, choose for each [TabContainer] the same value to enable tab drag between [TabContainer]. Enable drag with [member drag_to_rearrange_enabled]. - - @@ -154,6 +141,10 @@ Sets the position at which tabs will be placed. See [enum TabBar.AlignmentMode] for details. + + [TabContainer]s with the same rearrange group ID will allow dragging the tabs between them. Enable drag with [member drag_to_rearrange_enabled]. + Setting this to [code]-1[/code] will disable rearranging between [TabContainer]s. + If [code]true[/code], tabs are visible. If [code]false[/code], tabs' content and titles are hidden. -- cgit v1.2.3