소스 검색

Add critical info to TreeItem.set_custom_draw documentation

Indicates that the method needs 2 arguments to be called
florian 7 년 전
부모
커밋
612193b77f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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">