mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Sync classref with current source
This commit is contained in:
+34
-34
@@ -132,7 +132,7 @@ Clears all values on the theme.
|
||||
|
||||
- void **clear_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)**
|
||||
|
||||
Clears the :ref:`Color<class_Color>` at ``name`` if the Theme has ``type``.
|
||||
Clears the :ref:`Color<class_Color>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -140,7 +140,7 @@ Clears the :ref:`Color<class_Color>` at ``name`` if the Theme has ``type``.
|
||||
|
||||
- void **clear_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)**
|
||||
|
||||
Clears the constant at ``name`` if the Theme has ``type``.
|
||||
Clears the constant at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -148,7 +148,7 @@ Clears the constant at ``name`` if the Theme has ``type``.
|
||||
|
||||
- void **clear_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)**
|
||||
|
||||
Clears the :ref:`Font<class_Font>` at ``name`` if the Theme has ``type``.
|
||||
Clears the :ref:`Font<class_Font>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -156,7 +156,7 @@ Clears the :ref:`Font<class_Font>` at ``name`` if the Theme has ``type``.
|
||||
|
||||
- void **clear_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)**
|
||||
|
||||
Clears the icon at ``name`` if the Theme has ``type``.
|
||||
Clears the icon at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -164,7 +164,7 @@ Clears the icon at ``name`` if the Theme has ``type``.
|
||||
|
||||
- void **clear_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)**
|
||||
|
||||
Clears :ref:`StyleBox<class_StyleBox>` at ``name`` if the Theme has ``type``.
|
||||
Clears :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -172,7 +172,7 @@ Clears :ref:`StyleBox<class_StyleBox>` at ``name`` if the Theme has ``type``.
|
||||
|
||||
- void **copy_default_theme** **(** **)**
|
||||
|
||||
Sets the Theme's values to a copy of the default theme values.
|
||||
Sets the theme's values to a copy of the default theme values.
|
||||
|
||||
----
|
||||
|
||||
@@ -180,7 +180,7 @@ Sets the Theme's values to a copy of the default theme values.
|
||||
|
||||
- void **copy_theme** **(** :ref:`Theme<class_Theme>` other **)**
|
||||
|
||||
Sets the Theme's values to a copy of a given theme.
|
||||
Sets the theme's values to a copy of a given theme.
|
||||
|
||||
----
|
||||
|
||||
@@ -188,7 +188,7 @@ Sets the Theme's values to a copy of a given theme.
|
||||
|
||||
- :ref:`Color<class_Color>` **get_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns the :ref:`Color<class_Color>` at ``name`` if the Theme has ``type``.
|
||||
Returns the :ref:`Color<class_Color>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -196,7 +196,7 @@ Returns the :ref:`Color<class_Color>` at ``name`` if the Theme has ``type``.
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_color_list** **(** :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns all the :ref:`Color<class_Color>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Color<class_Color>`'s name, for use in :ref:`get_color<class_Theme_method_get_color>`, if the Theme has ``type``.
|
||||
Returns all the :ref:`Color<class_Color>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Color<class_Color>`'s name, for use in :ref:`get_color<class_Theme_method_get_color>`, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -204,7 +204,7 @@ Returns all the :ref:`Color<class_Color>`\ s as a :ref:`PoolStringArray<class_Po
|
||||
|
||||
- :ref:`int<class_int>` **get_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns the constant at ``name`` if the Theme has ``type``.
|
||||
Returns the constant at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -212,7 +212,7 @@ Returns the constant at ``name`` if the Theme has ``type``.
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_constant_list** **(** :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns all the constants as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each constant's name, for use in :ref:`get_constant<class_Theme_method_get_constant>`, if the Theme has ``type``.
|
||||
Returns all the constants as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each constant's name, for use in :ref:`get_constant<class_Theme_method_get_constant>`, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -220,7 +220,7 @@ Returns all the constants as a :ref:`PoolStringArray<class_PoolStringArray>` fil
|
||||
|
||||
- :ref:`Font<class_Font>` **get_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns the :ref:`Font<class_Font>` at ``name`` if the Theme has ``type``.
|
||||
Returns the :ref:`Font<class_Font>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -228,7 +228,7 @@ Returns the :ref:`Font<class_Font>` at ``name`` if the Theme has ``type``.
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_font_list** **(** :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns all the :ref:`Font<class_Font>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Font<class_Font>`'s name, for use in :ref:`get_font<class_Theme_method_get_font>`, if the Theme has ``type``.
|
||||
Returns all the :ref:`Font<class_Font>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Font<class_Font>`'s name, for use in :ref:`get_font<class_Theme_method_get_font>`, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -236,7 +236,7 @@ Returns all the :ref:`Font<class_Font>`\ s as a :ref:`PoolStringArray<class_Pool
|
||||
|
||||
- :ref:`Texture<class_Texture>` **get_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns the icon :ref:`Texture<class_Texture>` at ``name`` if the Theme has ``type``.
|
||||
Returns the icon :ref:`Texture<class_Texture>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -244,7 +244,7 @@ Returns the icon :ref:`Texture<class_Texture>` at ``name`` if the Theme has ``ty
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_icon_list** **(** :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns all the icons as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Texture<class_Texture>`'s name, for use in :ref:`get_icon<class_Theme_method_get_icon>`, if the Theme has ``type``.
|
||||
Returns all the icons as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Texture<class_Texture>`'s name, for use in :ref:`get_icon<class_Theme_method_get_icon>`, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -252,7 +252,7 @@ Returns all the icons as a :ref:`PoolStringArray<class_PoolStringArray>` filled
|
||||
|
||||
- :ref:`StyleBox<class_StyleBox>` **get_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns the icon :ref:`StyleBox<class_StyleBox>` at ``name`` if the Theme has ``type``.
|
||||
Returns the icon :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -260,7 +260,7 @@ Returns the icon :ref:`StyleBox<class_StyleBox>` at ``name`` if the Theme has ``
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_stylebox_list** **(** :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns all the :ref:`StyleBox<class_StyleBox>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`StyleBox<class_StyleBox>`'s name, for use in :ref:`get_stylebox<class_Theme_method_get_stylebox>`, if the Theme has ``type``.
|
||||
Returns all the :ref:`StyleBox<class_StyleBox>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`StyleBox<class_StyleBox>`'s name, for use in :ref:`get_stylebox<class_Theme_method_get_stylebox>`, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -268,7 +268,7 @@ Returns all the :ref:`StyleBox<class_StyleBox>`\ s as a :ref:`PoolStringArray<cl
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_stylebox_types** **(** **)** const
|
||||
|
||||
Returns all the :ref:`StyleBox<class_StyleBox>` types as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`StyleBox<class_StyleBox>`'s type, for use in :ref:`get_stylebox<class_Theme_method_get_stylebox>` and/or :ref:`get_stylebox_list<class_Theme_method_get_stylebox_list>`, if the Theme has ``type``.
|
||||
Returns all the :ref:`StyleBox<class_StyleBox>` types as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`StyleBox<class_StyleBox>`'s type, for use in :ref:`get_stylebox<class_Theme_method_get_stylebox>` and/or :ref:`get_stylebox_list<class_Theme_method_get_stylebox_list>`, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -276,7 +276,7 @@ Returns all the :ref:`StyleBox<class_StyleBox>` types as a :ref:`PoolStringArray
|
||||
|
||||
- :ref:`PoolStringArray<class_PoolStringArray>` **get_type_list** **(** :ref:`String<class_String>` type **)** const
|
||||
|
||||
Returns all the types in ``type`` as a :ref:`PoolStringArray<class_PoolStringArray>` for use in any of the get\_\* functions, if the Theme has ``type``.
|
||||
Returns all the types in ``type`` as a :ref:`PoolStringArray<class_PoolStringArray>` for use in any of the ``get_*`` functions, if the theme has ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -286,7 +286,7 @@ Returns all the types in ``type`` as a :ref:`PoolStringArray<class_PoolStringArr
|
||||
|
||||
Returns ``true`` if :ref:`Color<class_Color>` with ``name`` is in ``type``.
|
||||
|
||||
Returns ``false`` if the Theme does not have ``type``.
|
||||
Returns ``false`` if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -296,7 +296,7 @@ Returns ``false`` if the Theme does not have ``type``.
|
||||
|
||||
Returns ``true`` if constant with ``name`` is in ``type``.
|
||||
|
||||
Returns ``false`` if the Theme does not have ``type``.
|
||||
Returns ``false`` if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -306,7 +306,7 @@ Returns ``false`` if the Theme does not have ``type``.
|
||||
|
||||
Returns ``true`` if :ref:`Font<class_Font>` with ``name`` is in ``type``.
|
||||
|
||||
Returns ``false`` if the Theme does not have ``type``.
|
||||
Returns ``false`` if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -316,7 +316,7 @@ Returns ``false`` if the Theme does not have ``type``.
|
||||
|
||||
Returns ``true`` if icon :ref:`Texture<class_Texture>` with ``name`` is in ``type``.
|
||||
|
||||
Returns ``false`` if the Theme does not have ``type``.
|
||||
Returns ``false`` if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -326,7 +326,7 @@ Returns ``false`` if the Theme does not have ``type``.
|
||||
|
||||
Returns ``true`` if :ref:`StyleBox<class_StyleBox>` with ``name`` is in ``type``.
|
||||
|
||||
Returns ``false`` if the Theme does not have ``type``.
|
||||
Returns ``false`` if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -334,9 +334,9 @@ Returns ``false`` if the Theme does not have ``type``.
|
||||
|
||||
- void **set_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type, :ref:`Color<class_Color>` color **)**
|
||||
|
||||
Sets the Theme's :ref:`Color<class_Color>` to ``color`` at ``name`` in ``type``.
|
||||
Sets the theme's :ref:`Color<class_Color>` to ``color`` at ``name`` in ``type``.
|
||||
|
||||
Does nothing if the Theme does not have ``type``.
|
||||
Does nothing if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -344,9 +344,9 @@ Does nothing if the Theme does not have ``type``.
|
||||
|
||||
- void **set_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type, :ref:`int<class_int>` constant **)**
|
||||
|
||||
Sets the Theme's constant to ``constant`` at ``name`` in ``type``.
|
||||
Sets the theme's constant to ``constant`` at ``name`` in ``type``.
|
||||
|
||||
Does nothing if the Theme does not have ``type``.
|
||||
Does nothing if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -354,9 +354,9 @@ Does nothing if the Theme does not have ``type``.
|
||||
|
||||
- void **set_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type, :ref:`Font<class_Font>` font **)**
|
||||
|
||||
Sets the Theme's :ref:`Font<class_Font>` to ``font`` at ``name`` in ``type``.
|
||||
Sets the theme's :ref:`Font<class_Font>` to ``font`` at ``name`` in ``type``.
|
||||
|
||||
Does nothing if the Theme does not have ``type``.
|
||||
Does nothing if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -364,9 +364,9 @@ Does nothing if the Theme does not have ``type``.
|
||||
|
||||
- void **set_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type, :ref:`Texture<class_Texture>` texture **)**
|
||||
|
||||
Sets the Theme's icon :ref:`Texture<class_Texture>` to ``texture`` at ``name`` in ``type``.
|
||||
Sets the theme's icon :ref:`Texture<class_Texture>` to ``texture`` at ``name`` in ``type``.
|
||||
|
||||
Does nothing if the Theme does not have ``type``.
|
||||
Does nothing if the theme does not have ``type``.
|
||||
|
||||
----
|
||||
|
||||
@@ -374,7 +374,7 @@ Does nothing if the Theme does not have ``type``.
|
||||
|
||||
- void **set_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` type, :ref:`StyleBox<class_StyleBox>` texture **)**
|
||||
|
||||
Sets Theme's :ref:`StyleBox<class_StyleBox>` to ``stylebox`` at ``name`` in ``type``.
|
||||
Sets theme's :ref:`StyleBox<class_StyleBox>` to ``stylebox`` at ``name`` in ``type``.
|
||||
|
||||
Does nothing if the Theme does not have ``type``.
|
||||
Does nothing if the theme does not have ``type``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user