From 42f576f4243271650dfac6976a98583653471dc0 Mon Sep 17 00:00:00 2001 From: brunosxs Date: Thu, 12 Oct 2017 16:29:43 -0300 Subject: [PATCH] [DOCS] TabContainer class descriptions --- doc/classes/TabContainer.xml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index ffe99eb82bf..ad02064862e 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -16,14 +16,14 @@ - Return whether the tabs should be visible or hidden. + Returns [code]true[/code] if the tabs are visible. - Return the current tab index that is being shown. + Returns the current tab index that is being shown. @@ -42,14 +42,14 @@ - Return the previous tab index that was being shown. + Returns the previous tab index that was being shown. - Return tab alignment, from the ALIGN_* enum. + Returns the tab alignment.See the ALIGN_* constants. @@ -58,14 +58,14 @@ - Return the current tab control that is being shown. + Returns the current tab control that is being shown. - Return the amount of tabs. + Returns the amount of tabs. @@ -74,6 +74,7 @@ + Returns [code]true[/code] if the tab at index [code]tab_idx[/code] is disabled. @@ -82,6 +83,7 @@ + Returns the [Texture] for the tab at index [code]tab_idx[/code] or null if the tab has no [Texture]. @@ -90,7 +92,7 @@ - Return the title for the tab. Tab titles are by default the children node name, but this can be overridden. + Returns the title for the tab at index [code]tab_idx[/code]. Tab titles are by default the children node name, but this can be overridden. @@ -127,6 +129,7 @@ + Set tab at index [code]tab_idx[/code] disabled. @@ -137,7 +140,7 @@ - Set an icon for a tab. + Set an icon for a tab at index [code]tab_idx[/code]. @@ -148,7 +151,7 @@ - Set a title for the tab. Tab titles are by default the children node name, but this can be overridden. + Set a title for the tab at index [code]tab_idx[/code]. Tab titles are by default the children node name, but this can be overridden. @@ -157,16 +160,19 @@ - Set whether the tabs should be visible or hidden. + If [code]true[/code] all the tabs will be visible. + The current tab. + The alignment of all the tabs of the tab container. See the [code]ALIGN_*[/code] constants. + If [code]true[/code] all tabs that are children of the TabContainer will be visible.