2
0
Эх сурвалжийг харах

Add critical info to TreeItem.set_custom_draw documentation

Indicates that the method needs 2 arguments to be called
florian 7 жил өмнө
parent
commit
612193b77f

+ 1 - 0
doc/classes/TreeItem.xml

@@ -400,6 +400,7 @@
 			</argument>
 			<description>
 				Sets the given column's custom draw callback to [code]callback[/code] method on [code]object[/code].
+				The [code]callback[/code] should accept two arguments: the [TreeItem] that is drawn and its position and size as a [Rect2].
 			</description>
 		</method>
 		<method name="set_editable">