Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-10-29 12:48:46 +01:00
parent bbc6682099
commit a72184300f
449 changed files with 14004 additions and 232 deletions

View File

@@ -118,12 +118,16 @@ Signals
Emitted when the ``TabContainer``'s :ref:`Popup<class_Popup>` button is clicked. See :ref:`set_popup<class_TabContainer_method_set_popup>` for details.
----
.. _class_TabContainer_signal_tab_changed:
- **tab_changed** **(** :ref:`int<class_int>` tab **)**
Emitted when switching to another tab.
----
.. _class_TabContainer_signal_tab_selected:
- **tab_selected** **(** :ref:`int<class_int>` tab **)**
@@ -177,6 +181,8 @@ Property Descriptions
The current tab index. When set, this index's :ref:`Control<class_Control>` node's ``visible`` property is set to ``true`` and all others are set to ``false``.
----
.. _class_TabContainer_property_drag_to_rearrange_enabled:
- :ref:`bool<class_bool>` **drag_to_rearrange_enabled**
@@ -191,6 +197,8 @@ The current tab index. When set, this index's :ref:`Control<class_Control>` node
If ``true``, tabs can be rearranged with mouse drag.
----
.. _class_TabContainer_property_tab_align:
- :ref:`TabAlign<enum_TabContainer_TabAlign>` **tab_align**
@@ -205,6 +213,8 @@ If ``true``, tabs can be rearranged with mouse drag.
The alignment of all tabs in the tab container. See the ``ALIGN_*`` constants for details.
----
.. _class_TabContainer_property_tabs_visible:
- :ref:`bool<class_bool>` **tabs_visible**
@@ -219,6 +229,8 @@ The alignment of all tabs in the tab container. See the ``ALIGN_*`` constants fo
If ``true``, tabs are visible. If ``false``, tabs' content and titles are hidden.
----
.. _class_TabContainer_property_use_hidden_tabs_for_min_size:
- :ref:`bool<class_bool>` **use_hidden_tabs_for_min_size**
@@ -240,60 +252,80 @@ Method Descriptions
Returns the child :ref:`Control<class_Control>` node located at the active tab index.
----
.. _class_TabContainer_method_get_popup:
- :ref:`Popup<class_Popup>` **get_popup** **(** **)** const
Returns the :ref:`Popup<class_Popup>` node instance if one has been set already with :ref:`set_popup<class_TabContainer_method_set_popup>`.
----
.. _class_TabContainer_method_get_previous_tab:
- :ref:`int<class_int>` **get_previous_tab** **(** **)** const
Returns the previously active tab index.
----
.. _class_TabContainer_method_get_tab_control:
- :ref:`Control<class_Control>` **get_tab_control** **(** :ref:`int<class_int>` idx **)** const
Returns the currently visible tab's :ref:`Control<class_Control>` node.
----
.. _class_TabContainer_method_get_tab_count:
- :ref:`int<class_int>` **get_tab_count** **(** **)** const
Returns the number of tabs.
----
.. _class_TabContainer_method_get_tab_disabled:
- :ref:`bool<class_bool>` **get_tab_disabled** **(** :ref:`int<class_int>` tab_idx **)** const
Returns ``true`` if the tab at index ``tab_idx`` is disabled.
----
.. _class_TabContainer_method_get_tab_icon:
- :ref:`Texture<class_Texture>` **get_tab_icon** **(** :ref:`int<class_int>` tab_idx **)** const
Returns the :ref:`Texture<class_Texture>` for the tab at index ``tab_idx`` or ``null`` if the tab has no :ref:`Texture<class_Texture>`.
----
.. _class_TabContainer_method_get_tab_title:
- :ref:`String<class_String>` **get_tab_title** **(** :ref:`int<class_int>` tab_idx **)** const
Returns the title of the tab at index ``tab_idx``. Tab titles default to the name of the indexed child node, but this can be overridden with :ref:`set_tab_title<class_TabContainer_method_set_tab_title>`.
----
.. _class_TabContainer_method_get_tabs_rearrange_group:
- :ref:`int<class_int>` **get_tabs_rearrange_group** **(** **)** const
Returns the ``TabContainer`` rearrange group id.
----
.. _class_TabContainer_method_set_popup:
- void **set_popup** **(** :ref:`Node<class_Node>` popup **)**
If set on a :ref:`Popup<class_Popup>` node instance, a popup menu icon appears in the top-right corner of the ``TabContainer``. Clicking it will expand the :ref:`Popup<class_Popup>` node.
----
.. _class_TabContainer_method_set_tab_disabled:
- void **set_tab_disabled** **(** :ref:`int<class_int>` tab_idx, :ref:`bool<class_bool>` disabled **)**
@@ -302,18 +334,24 @@ If ``disabled`` is ``false``, hides the tab at index ``tab_idx``.
**Note:** Its title text will remain, unless also removed with :ref:`set_tab_title<class_TabContainer_method_set_tab_title>`.
----
.. _class_TabContainer_method_set_tab_icon:
- void **set_tab_icon** **(** :ref:`int<class_int>` tab_idx, :ref:`Texture<class_Texture>` icon **)**
Sets an icon for the tab at index ``tab_idx``.
----
.. _class_TabContainer_method_set_tab_title:
- void **set_tab_title** **(** :ref:`int<class_int>` tab_idx, :ref:`String<class_String>` title **)**
Sets a title for the tab at index ``tab_idx``. Tab titles default to the name of the indexed child node, but this can be overridden with :ref:`set_tab_title<class_TabContainer_method_set_tab_title>`.
----
.. _class_TabContainer_method_set_tabs_rearrange_group:
- void **set_tabs_rearrange_group** **(** :ref:`int<class_int>` group_id **)**