Rename the argument tag to param in XML documentation

This commit is contained in:
Yuri Sizov 2022-08-06 21:11:48 +03:00
parent 35c1eae8d7
commit c5d7115038
432 changed files with 10529 additions and 10529 deletions

View file

@ -15,7 +15,7 @@
<methods>
<method name="add_type">
<return type="void" />
<argument index="0" name="theme_type" type="StringName" />
<param index="0" name="theme_type" type="StringName" />
<description>
Adds an empty theme type for every valid data type.
[b]Note:[/b] Empty types are not saved with the theme. This method only exists to perform in-memory changes to the resource. Use available [code]set_*[/code] methods to add theme items.
@ -29,8 +29,8 @@
</method>
<method name="clear_color">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Removes the [Color] property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_color] to check for existence.
@ -38,8 +38,8 @@
</method>
<method name="clear_constant">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Removes the constant property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_constant] to check for existence.
@ -47,8 +47,8 @@
</method>
<method name="clear_font">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Removes the [Font] property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_font] to check for existence.
@ -56,8 +56,8 @@
</method>
<method name="clear_font_size">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Removes the font size property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_font_size] to check for existence.
@ -65,8 +65,8 @@
</method>
<method name="clear_icon">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Removes the icon property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_icon] to check for existence.
@ -74,8 +74,8 @@
</method>
<method name="clear_stylebox">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Removes the [StyleBox] property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_stylebox] to check for existence.
@ -83,9 +83,9 @@
</method>
<method name="clear_theme_item">
<return type="void" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Removes the theme property of [code]data_type[/code] defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Fails if it doesn't exist. Use [method has_theme_item] to check for existence.
@ -94,15 +94,15 @@
</method>
<method name="clear_type_variation">
<return type="void" />
<argument index="0" name="theme_type" type="StringName" />
<param index="0" name="theme_type" type="StringName" />
<description>
Unmarks [code]theme_type[/code] as being a variation of another theme type. See [method set_type_variation].
</description>
</method>
<method name="get_color" qualifiers="const">
<return type="Color" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns the [Color] property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns the default color value if the property doesn't exist. Use [method has_color] to check for existence.
@ -110,7 +110,7 @@
</method>
<method name="get_color_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="theme_type" type="String" />
<param index="0" name="theme_type" type="String" />
<description>
Returns a list of names for [Color] properties defined with [code]theme_type[/code]. Use [method get_color_type_list] to get a list of possible theme type names.
</description>
@ -123,8 +123,8 @@
</method>
<method name="get_constant" qualifiers="const">
<return type="int" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns the constant property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns [code]0[/code] if the property doesn't exist. Use [method has_constant] to check for existence.
@ -132,7 +132,7 @@
</method>
<method name="get_constant_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="theme_type" type="String" />
<param index="0" name="theme_type" type="String" />
<description>
Returns a list of names for constant properties defined with [code]theme_type[/code]. Use [method get_constant_type_list] to get a list of possible theme type names.
</description>
@ -145,8 +145,8 @@
</method>
<method name="get_font" qualifiers="const">
<return type="Font" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns the [Font] property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns the default theme font if the property doesn't exist and the default theme font is set up (see [member default_font]). Use [method has_font] to check for existence of the property and [method has_default_font] to check for existence of the default theme font.
@ -155,15 +155,15 @@
</method>
<method name="get_font_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="theme_type" type="String" />
<param index="0" name="theme_type" type="String" />
<description>
Returns a list of names for [Font] properties defined with [code]theme_type[/code]. Use [method get_font_type_list] to get a list of possible theme type names.
</description>
</method>
<method name="get_font_size" qualifiers="const">
<return type="int" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns the font size property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns the default theme font size if the property doesn't exist and the default theme font size is set up (see [member default_font_size]). Use [method has_font_size] to check for existence of the property and [method has_default_font_size] to check for existence of the default theme font.
@ -172,7 +172,7 @@
</method>
<method name="get_font_size_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="theme_type" type="String" />
<param index="0" name="theme_type" type="String" />
<description>
Returns a list of names for font size properties defined with [code]theme_type[/code]. Use [method get_font_size_type_list] to get a list of possible theme type names.
</description>
@ -191,8 +191,8 @@
</method>
<method name="get_icon" qualifiers="const">
<return type="Texture2D" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns the icon property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns the engine fallback icon value if the property doesn't exist. Use [method has_icon] to check for existence.
@ -200,7 +200,7 @@
</method>
<method name="get_icon_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="theme_type" type="String" />
<param index="0" name="theme_type" type="String" />
<description>
Returns a list of names for icon properties defined with [code]theme_type[/code]. Use [method get_icon_type_list] to get a list of possible theme type names.
</description>
@ -213,8 +213,8 @@
</method>
<method name="get_stylebox" qualifiers="const">
<return type="StyleBox" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns the [StyleBox] property defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns the engine fallback stylebox value if the property doesn't exist. Use [method has_stylebox] to check for existence.
@ -222,7 +222,7 @@
</method>
<method name="get_stylebox_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="theme_type" type="String" />
<param index="0" name="theme_type" type="String" />
<description>
Returns a list of names for [StyleBox] properties defined with [code]theme_type[/code]. Use [method get_stylebox_type_list] to get a list of possible theme type names.
</description>
@ -235,9 +235,9 @@
</method>
<method name="get_theme_item" qualifiers="const">
<return type="Variant" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Returns the theme property of [code]data_type[/code] defined by [code]name[/code] and [code]theme_type[/code], if it exists.
Returns the engine fallback icon value if the property doesn't exist. Use [method has_theme_item] to check for existence.
@ -246,8 +246,8 @@
</method>
<method name="get_theme_item_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<argument index="1" name="theme_type" type="String" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="1" name="theme_type" type="String" />
<description>
Returns a list of names for properties of [code]data_type[/code] defined with [code]theme_type[/code]. Use [method get_theme_item_type_list] to get a list of possible theme type names.
[b]Note:[/b] This method is analogous to calling the corresponding data type specific method, but can be used for more generalized logic.
@ -255,7 +255,7 @@
</method>
<method name="get_theme_item_type_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<description>
Returns a list of all unique theme type names for [code]data_type[/code] properties. Use [method get_type_list] to get a list of all unique theme types.
[b]Note:[/b] This method is analogous to calling the corresponding data type specific method, but can be used for more generalized logic.
@ -269,22 +269,22 @@
</method>
<method name="get_type_variation_base" qualifiers="const">
<return type="StringName" />
<argument index="0" name="theme_type" type="StringName" />
<param index="0" name="theme_type" type="StringName" />
<description>
Returns the name of the base theme type if [code]theme_type[/code] is a valid variation type. Returns an empty string otherwise.
</description>
</method>
<method name="get_type_variation_list" qualifiers="const">
<return type="PackedStringArray" />
<argument index="0" name="base_type" type="StringName" />
<param index="0" name="base_type" type="StringName" />
<description>
Returns a list of all type variations for the given [code]base_type[/code].
</description>
</method>
<method name="has_color" qualifiers="const">
<return type="bool" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the [Color] property defined by [code]name[/code] and [code]theme_type[/code] exists.
Returns [code]false[/code] if it doesn't exist. Use [method set_color] to define it.
@ -292,8 +292,8 @@
</method>
<method name="has_constant" qualifiers="const">
<return type="bool" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the constant property defined by [code]name[/code] and [code]theme_type[/code] exists.
Returns [code]false[/code] if it doesn't exist. Use [method set_constant] to define it.
@ -322,8 +322,8 @@
</method>
<method name="has_font" qualifiers="const">
<return type="bool" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the [Font] property defined by [code]name[/code] and [code]theme_type[/code] exists, or if the default theme font is set up (see [method has_default_font]).
Returns [code]false[/code] if neither exist. Use [method set_font] to define the property.
@ -331,8 +331,8 @@
</method>
<method name="has_font_size" qualifiers="const">
<return type="bool" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if [member default_font_size] has a valid value.
Returns [code]false[/code] if it doesn't. The value must be greater than [code]0[/code] to be considered valid.
@ -340,8 +340,8 @@
</method>
<method name="has_icon" qualifiers="const">
<return type="bool" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the icon property defined by [code]name[/code] and [code]theme_type[/code] exists.
Returns [code]false[/code] if it doesn't exist. Use [method set_icon] to define it.
@ -349,8 +349,8 @@
</method>
<method name="has_stylebox" qualifiers="const">
<return type="bool" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the [StyleBox] property defined by [code]name[/code] and [code]theme_type[/code] exists.
Returns [code]false[/code] if it doesn't exist. Use [method set_stylebox] to define it.
@ -358,9 +358,9 @@
</method>
<method name="has_theme_item" qualifiers="const">
<return type="bool" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the theme property of [code]data_type[/code] defined by [code]name[/code] and [code]theme_type[/code] exists.
Returns [code]false[/code] if it doesn't exist. Use [method set_theme_item] to define it.
@ -369,15 +369,15 @@
</method>
<method name="is_type_variation" qualifiers="const">
<return type="bool" />
<argument index="0" name="theme_type" type="StringName" />
<argument index="1" name="base_type" type="StringName" />
<param index="0" name="theme_type" type="StringName" />
<param index="1" name="base_type" type="StringName" />
<description>
Returns [code]true[/code] if [code]theme_type[/code] is marked as a variation of [code]base_type[/code].
</description>
</method>
<method name="merge_with">
<return type="void" />
<argument index="0" name="other" type="Theme" />
<param index="0" name="other" type="Theme" />
<description>
Adds missing and overrides existing definitions with values from the [code]other[/code] theme resource.
[b]Note:[/b] This modifies the current theme. If you want to merge two themes together without modifying either one, create a new empty theme and merge the other two into it one after another.
@ -385,16 +385,16 @@
</method>
<method name="remove_type">
<return type="void" />
<argument index="0" name="theme_type" type="StringName" />
<param index="0" name="theme_type" type="StringName" />
<description>
Removes the theme type, gracefully discarding defined theme items. If the type is a variation, this information is also erased. If the type is a base for type variations, those variations lose their base.
</description>
</method>
<method name="rename_color">
<return type="void" />
<argument index="0" name="old_name" type="StringName" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="old_name" type="StringName" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Renames the [Color] property defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_color] to check for existence, and [method clear_color] to remove the existing property.
@ -402,9 +402,9 @@
</method>
<method name="rename_constant">
<return type="void" />
<argument index="0" name="old_name" type="StringName" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="old_name" type="StringName" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Renames the constant property defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_constant] to check for existence, and [method clear_constant] to remove the existing property.
@ -412,9 +412,9 @@
</method>
<method name="rename_font">
<return type="void" />
<argument index="0" name="old_name" type="StringName" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="old_name" type="StringName" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Renames the [Font] property defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_font] to check for existence, and [method clear_font] to remove the existing property.
@ -422,9 +422,9 @@
</method>
<method name="rename_font_size">
<return type="void" />
<argument index="0" name="old_name" type="StringName" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="old_name" type="StringName" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Returns [code]true[/code] if the font size property defined by [code]name[/code] and [code]theme_type[/code] exists, or if the default theme font size is set up (see [method has_default_font_size]).
Returns [code]false[/code] if neither exist. Use [method set_font_size] to define the property.
@ -432,9 +432,9 @@
</method>
<method name="rename_icon">
<return type="void" />
<argument index="0" name="old_name" type="StringName" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="old_name" type="StringName" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Renames the icon property defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_icon] to check for existence, and [method clear_icon] to remove the existing property.
@ -442,9 +442,9 @@
</method>
<method name="rename_stylebox">
<return type="void" />
<argument index="0" name="old_name" type="StringName" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<param index="0" name="old_name" type="StringName" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<description>
Renames the [StyleBox] property defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_stylebox] to check for existence, and [method clear_stylebox] to remove the existing property.
@ -452,10 +452,10 @@
</method>
<method name="rename_theme_item">
<return type="void" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<argument index="1" name="old_name" type="StringName" />
<argument index="2" name="name" type="StringName" />
<argument index="3" name="theme_type" type="StringName" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="1" name="old_name" type="StringName" />
<param index="2" name="name" type="StringName" />
<param index="3" name="theme_type" type="StringName" />
<description>
Renames the theme property of [code]data_type[/code] defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_theme_item] to check for existence, and [method clear_theme_item] to remove the existing property.
@ -464,36 +464,36 @@
</method>
<method name="set_color">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<argument index="2" name="color" type="Color" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<param index="2" name="color" type="Color" />
<description>
Creates or changes the value of the [Color] property defined by [code]name[/code] and [code]theme_type[/code]. Use [method clear_color] to remove the property.
</description>
</method>
<method name="set_constant">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<argument index="2" name="constant" type="int" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<param index="2" name="constant" type="int" />
<description>
Creates or changes the value of the constant property defined by [code]name[/code] and [code]theme_type[/code]. Use [method clear_constant] to remove the property.
</description>
</method>
<method name="set_font">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<argument index="2" name="font" type="Font" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<param index="2" name="font" type="Font" />
<description>
Creates or changes the value of the [Font] property defined by [code]name[/code] and [code]theme_type[/code]. Use [method clear_font] to remove the property.
</description>
</method>
<method name="set_font_size">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<argument index="2" name="font_size" type="int" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<param index="2" name="font_size" type="int" />
<description>
Renames the font size property defined by [code]old_name[/code] and [code]theme_type[/code] to [code]name[/code], if it exists.
Fails if it doesn't exist, or if a similar property with the new name already exists. Use [method has_font_size] to check for existence, and [method clear_font_size] to remove the existing property.
@ -501,28 +501,28 @@
</method>
<method name="set_icon">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<argument index="2" name="texture" type="Texture2D" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<param index="2" name="texture" type="Texture2D" />
<description>
Creates or changes the value of the icon property defined by [code]name[/code] and [code]theme_type[/code]. Use [method clear_icon] to remove the property.
</description>
</method>
<method name="set_stylebox">
<return type="void" />
<argument index="0" name="name" type="StringName" />
<argument index="1" name="theme_type" type="StringName" />
<argument index="2" name="texture" type="StyleBox" />
<param index="0" name="name" type="StringName" />
<param index="1" name="theme_type" type="StringName" />
<param index="2" name="texture" type="StyleBox" />
<description>
Creates or changes the value of the [StyleBox] property defined by [code]name[/code] and [code]theme_type[/code]. Use [method clear_stylebox] to remove the property.
</description>
</method>
<method name="set_theme_item">
<return type="void" />
<argument index="0" name="data_type" type="int" enum="Theme.DataType" />
<argument index="1" name="name" type="StringName" />
<argument index="2" name="theme_type" type="StringName" />
<argument index="3" name="value" type="Variant" />
<param index="0" name="data_type" type="int" enum="Theme.DataType" />
<param index="1" name="name" type="StringName" />
<param index="2" name="theme_type" type="StringName" />
<param index="3" name="value" type="Variant" />
<description>
Creates or changes the value of the theme property of [code]data_type[/code] defined by [code]name[/code] and [code]theme_type[/code]. Use [method clear_theme_item] to remove the property.
Fails if the [code]value[/code] type is not accepted by [code]data_type[/code].
@ -531,8 +531,8 @@
</method>
<method name="set_type_variation">
<return type="void" />
<argument index="0" name="theme_type" type="StringName" />
<argument index="1" name="base_type" type="StringName" />
<param index="0" name="theme_type" type="StringName" />
<param index="1" name="base_type" type="StringName" />
<description>
Marks [code]theme_type[/code] as a variation of [code]base_type[/code].
This adds [code]theme_type[/code] as a suggested option for [member Control.theme_type_variation] on a [Control] that is of the [code]base_type[/code] class.