diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-19 21:36:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 21:36:56 +0100 |
commit | d661835a1878cd26c37303a3d6550d60e287506b (patch) | |
tree | b1b7e77a627bf626e5858208c74036685f326f48 /doc | |
parent | d3129058b1e0269cbf7fe086299aa632e99ff94b (diff) | |
parent | f43f68f605440795e39a66927b125d9f779d59f9 (diff) |
Merge pull request #54729 from Paulb23/text-edit-callable
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TextEdit.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index ea8cf04a69..5f887a397f 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -729,8 +729,7 @@ <method name="set_gutter_custom_draw"> <return type="void" /> <argument index="0" name="column" type="int" /> - <argument index="1" name="object" type="Object" /> - <argument index="2" name="callback" type="StringName" /> + <argument index="1" name="draw_callback" type="Callable" /> <description> Set a custom draw method for the gutter. The callback method must take the following args: [code]line: int, gutter: int, Area: Rect2[/code]. </description> @@ -907,11 +906,9 @@ </method> <method name="set_tooltip_request_func"> <return type="void" /> - <argument index="0" name="object" type="Object" /> - <argument index="1" name="callback" type="StringName" /> - <argument index="2" name="data" type="Variant" /> + <argument index="0" name="callback" type="Callable" /> <description> - Provide custom tooltip text. The callback method must take the following args: [code]hovered_word: String, data: Variant[/code] + Provide custom tooltip text. The callback method must take the following args: [code]hovered_word: String[/code] </description> </method> <method name="swap_lines"> |