Merge pull request #46253 from asmaloney/docs-theme
[docs] Clarification on theme's get_stylebox
This commit is contained in:
commit
40191a748b
|
@ -236,7 +236,8 @@
|
||||||
<argument index="1" name="node_type" type="StringName">
|
<argument index="1" name="node_type" type="StringName">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_stylebox_list" qualifiers="const">
|
<method name="get_stylebox_list" qualifiers="const">
|
||||||
|
@ -246,6 +247,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<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].
|
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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_stylebox_type_list" qualifiers="const">
|
<method name="get_stylebox_type_list" qualifiers="const">
|
||||||
|
|
Loading…
Reference in New Issue