From 3a875d3200a3023ecf9bcb2618fc37a36b628fba Mon Sep 17 00:00:00 2001 From: Alexander Holland Date: Mon, 15 Oct 2018 15:01:10 +0200 Subject: [PATCH] Doc Tabs --- doc/classes/Tabs.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/classes/Tabs.xml b/doc/classes/Tabs.xml index fc1d0476ed1..350b49513d3 100644 --- a/doc/classes/Tabs.xml +++ b/doc/classes/Tabs.xml @@ -19,6 +19,7 @@ + Adds a new tab. @@ -27,6 +28,7 @@ + Moves the Scroll view to make the tab visible. @@ -39,12 +41,14 @@ + Returns [code]true[/code] if select with right mouse button is enabled. + Returns the number of tabs. @@ -53,6 +57,7 @@ + Returns [code]true[/code] if the tab at index [code]tab_idx[/code] is disabled. @@ -61,6 +66,7 @@ + Returns the [Texture] for the tab at index [code]tab_idx[/code] or null if the tab has no [Texture]. @@ -84,12 +90,14 @@ + 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 [code]Tabs[/code] rearrange group id. @@ -109,6 +117,7 @@ + Removes tab at index [code]tab_idx[/code] @@ -117,6 +126,7 @@ + If [code]true[/code] enables selecting a tab with right mouse button. @@ -127,6 +137,7 @@ + If [code]disabled[/code] is false, hides the tab at index [code]tab_idx[/code]. Note that its title text will remain, unless also removed with [method set_tab_title]. @@ -137,6 +148,7 @@ + Sets an icon for the tab at index [code]tab_idx[/code]. @@ -147,6 +159,7 @@ + Sets a title for the tab at index [code]tab_idx[/code]. @@ -155,17 +168,21 @@ + Defines rearrange group id, choose for each [code]Tabs[/code] the same value to enable tab drag between [code]Tabs[/code]. Enable drag with [code]set_drag_to_rearrange_enabled(true)[/code]. + Select tab at index [code]tab_idx[/code]. + If [code]true[/code], tabs can be rearranged with mouse drag. + The alignment of all tabs. See enum [code]TabAlign[/code] constants for details. @@ -210,10 +227,13 @@ + Align the tabs to the left. + Align the tabs to the center. + Align the tabs to the right.