diff options
author | Raul Santos <raulsntos@gmail.com> | 2024-01-30 21:03:28 +0100 |
---|---|---|
committer | Raul Santos <raulsntos@gmail.com> | 2024-02-23 01:50:18 +0100 |
commit | 5ba92e5a57b98ec403f036af7551844679c55cd1 (patch) | |
tree | f240e035aa8b9834c6a224fa0803318bf211b07e /doc/classes/Window.xml | |
parent | 16d61427cab3a8e43f0a9a8ee724fc176b6433c6 (diff) | |
download | redot-engine-5ba92e5a57b98ec403f036af7551844679c55cd1.tar.gz |
Fix some DEFVALs to use the right type
- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
Diffstat (limited to 'doc/classes/Window.xml')
-rw-r--r-- | doc/classes/Window.xml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 97c7ffdd3c..7a60c23e58 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -129,7 +129,7 @@ <method name="get_theme_color" qualifiers="const"> <return type="Color" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns a [Color] from the first matching [Theme] in the tree if that [Theme] has a color item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for more details. @@ -138,7 +138,7 @@ <method name="get_theme_constant" qualifiers="const"> <return type="int" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns a constant from the first matching [Theme] in the tree if that [Theme] has a constant item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for more details. @@ -168,7 +168,7 @@ <method name="get_theme_font" qualifiers="const"> <return type="Font" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns a [Font] from the first matching [Theme] in the tree if that [Theme] has a font item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -177,7 +177,7 @@ <method name="get_theme_font_size" qualifiers="const"> <return type="int" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns a font size from the first matching [Theme] in the tree if that [Theme] has a font size item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -186,7 +186,7 @@ <method name="get_theme_icon" qualifiers="const"> <return type="Texture2D" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns an icon from the first matching [Theme] in the tree if that [Theme] has an icon item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -195,7 +195,7 @@ <method name="get_theme_stylebox" qualifiers="const"> <return type="StyleBox" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns a [StyleBox] from the first matching [Theme] in the tree if that [Theme] has a stylebox item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -222,7 +222,7 @@ <method name="has_theme_color" qualifiers="const"> <return type="bool" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns [code]true[/code] if there is a matching [Theme] in the tree that has a color item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -239,7 +239,7 @@ <method name="has_theme_constant" qualifiers="const"> <return type="bool" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns [code]true[/code] if there is a matching [Theme] in the tree that has a constant item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -256,7 +256,7 @@ <method name="has_theme_font" qualifiers="const"> <return type="bool" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns [code]true[/code] if there is a matching [Theme] in the tree that has a font item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -273,7 +273,7 @@ <method name="has_theme_font_size" qualifiers="const"> <return type="bool" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns [code]true[/code] if there is a matching [Theme] in the tree that has a font size item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -290,7 +290,7 @@ <method name="has_theme_icon" qualifiers="const"> <return type="bool" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns [code]true[/code] if there is a matching [Theme] in the tree that has an icon item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. @@ -307,7 +307,7 @@ <method name="has_theme_stylebox" qualifiers="const"> <return type="bool" /> <param index="0" name="name" type="StringName" /> - <param index="1" name="theme_type" type="StringName" default="""" /> + <param index="1" name="theme_type" type="StringName" default="&""" /> <description> Returns [code]true[/code] if there is a matching [Theme] in the tree that has a stylebox item with the specified [param name] and [param theme_type]. See [method Control.get_theme_color] for details. |