Add get_button_color(column, id)

Docs should point to Color constuctor instead of just the class, but I unfortunately cannot.
This commit is contained in:
radzo73
2024-01-28 14:55:48 -05:00
parent 17e7f85c06
commit de5b0d7103
3 changed files with 16 additions and 0 deletions

View File

@@ -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" />