diff options
author | radzo73 <radzo73qwerty@gmail.com> | 2024-01-28 14:55:48 -0500 |
---|---|---|
committer | radzo73 <radzo73qwerty@gmail.com> | 2024-01-28 19:09:20 -0500 |
commit | de5b0d71036c6e412de89f77eca57a4e35ffd3a3 (patch) | |
tree | e97c3deaa6a9906fceab70bca8efc65ce8c66149 /doc/classes/TreeItem.xml | |
parent | 17e7f85c06366b427e5068c5b3e2940e27ff5f1d (diff) | |
download | redot-engine-de5b0d71036c6e412de89f77eca57a4e35ffd3a3.tar.gz |
Add `get_button_color(column, id)`
Docs should point to Color constuctor instead of just the class, but I unfortunately cannot.
Diffstat (limited to 'doc/classes/TreeItem.xml')
-rw-r--r-- | doc/classes/TreeItem.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 3b8a4c8872..e94fa0c061 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -96,6 +96,14 @@ Returns the button index if there is a button with ID [param id] in column [param column], otherwise returns -1. </description> </method> + <method name="get_button_color" qualifiers="const"> + <return type="Color" /> + <param index="0" name="column" type="int" /> + <param index="1" name="id" type="int" /> + <description> + Returns the color of the button with ID [param id] in column [param column]. If the specified button does not exist, returns [constant Color.BLACK]. + </description> + </method> <method name="get_button_count" qualifiers="const"> <return type="int" /> <param index="0" name="column" type="int" /> |