Browse Source

Merge pull request #22638 from Dragoncraft89/master

Add critical info to TreeItem.set_custom_draw documentation
Rémi Verschelde 7 years ago
parent
commit
723e2e9654
1 changed files with 1 additions and 0 deletions
  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">