Add critical info to TreeItem.set_custom_draw documentation
Indicates that the method needs 2 arguments to be called
(cherry picked from commit 612193b77f
)
This commit is contained in:
parent
0f62f281ae
commit
0e992e6089
|
@ -400,6 +400,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the given column's custom draw callback to [code]callback[/code] method on [code]object[/code].
|
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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_editable">
|
<method name="set_editable">
|
||||||
|
|
Loading…
Reference in New Issue