summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-02 20:12:44 +0200
committerGitHub <noreply@github.com>2018-10-02 20:12:44 +0200
commit723e2e9654615fcfd858786d687d22b9fdfc1fd6 (patch)
treeb5b85d728b6a1a50aeab2b81c475bddbda967083 /doc
parent45842c0ea9c6e80f56954efb5e08a7c81e372fc4 (diff)
parent612193b77ff55be17d719f1c68ea83422a66f666 (diff)
Merge pull request #22638 from Dragoncraft89/master
Add critical info to TreeItem.set_custom_draw documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/TreeItem.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml
index 57e0f2825a..c5a63b1acb 100644
--- a/doc/classes/TreeItem.xml
+++ b/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">