Merge pull request #32605 from dankan1890/get_custom_color
Added missing bind_method to TreeItem::get_custom_color().
This commit is contained in:
commit
41aac7c2df
2 changed files with 10 additions and 0 deletions
|
@ -120,6 +120,15 @@
|
|||
Returns the custom background color of column [code]column[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_custom_color" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the custom color of column [code]column[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_expand_right" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
|
|
@ -827,6 +827,7 @@ void TreeItem::_bind_methods() {
|
|||
|
||||
ClassDB::bind_method(D_METHOD("set_custom_color", "column", "color"), &TreeItem::set_custom_color);
|
||||
ClassDB::bind_method(D_METHOD("clear_custom_color", "column"), &TreeItem::clear_custom_color);
|
||||
ClassDB::bind_method(D_METHOD("get_custom_color", "column"), &TreeItem::get_custom_color);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_custom_bg_color", "column", "color", "just_outline"), &TreeItem::set_custom_bg_color, DEFVAL(false));
|
||||
ClassDB::bind_method(D_METHOD("clear_custom_bg_color", "column"), &TreeItem::clear_custom_bg_color);
|
||||
|
|
Loading…
Reference in a new issue