Selaa lähdekoodia

Add critical info to TreeItem.set_custom_draw documentation

Indicates that the method needs 2 arguments to be called
florian 7 vuotta sitten
vanhempi
commit
612193b77f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      doc/classes/TreeItem.xml

+ 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">