diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-22 10:35:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 10:35:35 +0100 |
commit | 40191a748b97c846e4acf575ecf7f5e04036df5d (patch) | |
tree | f4401880d844ffda7c4cd3b26470eb5fce1ee272 /doc | |
parent | 78f696a7a38f42c6e728eb3b7534a8affe0dfeca (diff) | |
parent | d397c3216906fa59d49f041a7a4038d8cfe2f6e2 (diff) |
Merge pull request #46253 from asmaloney/docs-theme
[docs] Clarification on theme's get_stylebox
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Theme.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/Theme.xml b/doc/classes/Theme.xml index 3f7f22ebcd..9f976838e9 100644 --- a/doc/classes/Theme.xml +++ b/doc/classes/Theme.xml @@ -236,7 +236,8 @@ <argument index="1" name="node_type" type="StringName"> </argument> <description> - Returns the icon [StyleBox] at [code]name[/code] if the theme has [code]node_type[/code]. + Returns the [StyleBox] at [code]name[/code] if the theme has [code]node_type[/code]. + Valid [code]name[/code]s may be found using [method get_stylebox_list]. Valid [code]node_type[/code]s may be found using [method get_stylebox_type_list]. </description> </method> <method name="get_stylebox_list" qualifiers="const"> @@ -246,6 +247,7 @@ </argument> <description> Returns all the [StyleBox]s as a [PackedStringArray] filled with each [StyleBox]'s name, for use in [method get_stylebox], if the theme has [code]node_type[/code]. + Valid [code]node_type[/code]s may be found using [method get_stylebox_type_list]. </description> </method> <method name="get_stylebox_type_list" qualifiers="const"> |