Lua: Add param type

Change-Id: I0b9212ba0d030a21b342dabafc8bae3b4bb16af7
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <lie@spyro-soft.com>
This commit is contained in:
Marcus Tillmanns
2024-08-21 15:06:37 +02:00
parent b3951ff821
commit 51d10694eb

View File

@@ -65,7 +65,7 @@ function TextEditor:cursor() end
---Adds a floating widget at the specified position in the text editor.
---The widget will be positioned at the location corresponding to the given position in the
---text document and will be automatically managed to stay pined to that position.
---@param widget Widget The widget to be added as a floating widget.
---@param widget Widget|Layout The widget to be added as a floating widget.
---@param position integer The position in the document where the widget should appear.
function TextEditor:addFloatingWidget(widget, position) end