diff options
author | florian <floriankothmeier@web.de> | 2018-10-02 18:43:09 +0200 |
---|---|---|
committer | florian <floriankothmeier@web.de> | 2018-10-02 19:42:58 +0200 |
commit | 612193b77ff55be17d719f1c68ea83422a66f666 (patch) | |
tree | b6d5274f623030346940d5def03bb4207f4228ba /doc/classes | |
parent | 051b8837b0298665de7d5e77e49802f0651a9b3f (diff) |
Add critical info to TreeItem.set_custom_draw documentation
Indicates that the method needs 2 arguments to be called
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/TreeItem.xml | 1 |
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"> |