summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorJonathan Gollnick <jonathan.gollnick@gmail.com>2021-06-05 14:24:24 -0500
committerJonathan Gollnick <jonathan.gollnick@gmail.com>2021-06-10 16:30:28 -0500
commit6710ad1737589e280cba5766a26c04172dccd0f9 (patch)
tree3874b632278fba2d62e984329dbbf3c40e6adc85 /doc/classes/Control.xml
parentbc1fcb9c659c573a38347088ccda3640fe2ae4c8 (diff)
Let var2str display StringName with correct sigil
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index 12344712a0..9c61fca598 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -1175,7 +1175,7 @@
<member name="theme" type="Theme" setter="set_theme" getter="get_theme">
The [Theme] resource this node and all its [Control] children use. If a child node has its own [Theme] resource set, theme items are merged with child's definitions having higher priority.
</member>
- <member name="theme_custom_type" type="StringName" setter="set_theme_custom_type" getter="get_theme_custom_type" default="@&quot;&quot;">
+ <member name="theme_custom_type" type="StringName" setter="set_theme_custom_type" getter="get_theme_custom_type" default="&amp;&quot;&quot;">
The type name used by this [Control] to look up its own theme items. By default, the class name of the node is used (e.g. [code]Button[/code] for the [Button] control), as well as the class names of all parent classes (in order of inheritance). Setting this property gives the highest priority to the type of the specified name, then falls back on the class names.
[b]Note:[/b] To look up [Control]'s own items use various [code]get_theme_*[/code] methods without specifying [code]theme_type[/code].
[b]Note:[/b] Theme items are looked for in the tree order, from branch to root, where each [Control] node is checked for its [member theme] property. The earliest match against any type/class name is returned. The project-level Theme and the default Theme are checked last.