doc(object): add is_signal_connected to common doc

This commit is contained in:
Aire-One 2022-10-04 19:41:05 +02:00
parent 2a1694695e
commit 8ad78c7ae6
1 changed files with 10 additions and 0 deletions

View File

@ -37,3 +37,13 @@
-- @method weak_connect_signal -- @method weak_connect_signal
-- @noreturn -- @noreturn
-- @baseclass gears.object -- @baseclass gears.object
--- Check if the callback is connected to the signal.
--
-- This function check both kind of signal connection (strong and weak).
--
-- @tparam string name The name of the signal.
-- @tparam function func The callback to check if connected.
-- @treturn boolean Whether the signal is connected.
-- @method is_signal_connected
-- @baseclass gears.object