doc: Tag the callback properties as deprecated.
They exists to comply with the old `naughty.notify` API. They should not be used for new code.
This commit is contained in:
parent
47750f62b2
commit
90396f33e7
|
@ -214,12 +214,20 @@ local notification = {}
|
||||||
-- @see shape
|
-- @see shape
|
||||||
|
|
||||||
--- Function to run on left click.
|
--- Function to run on left click.
|
||||||
-- @property run
|
--
|
||||||
|
-- Use the signals rather than this.
|
||||||
|
--
|
||||||
|
-- @deprecatedproperty run
|
||||||
-- @param function
|
-- @param function
|
||||||
|
-- @see destroyed
|
||||||
|
|
||||||
--- Function to run when notification is destroyed.
|
--- Function to run when notification is destroyed.
|
||||||
-- @property destroy
|
--
|
||||||
|
-- Use the signals rather than this.
|
||||||
|
--
|
||||||
|
-- @deprecatedproperty destroy
|
||||||
-- @param function
|
-- @param function
|
||||||
|
-- @see destroyed
|
||||||
|
|
||||||
--- Table with any of the above parameters.
|
--- Table with any of the above parameters.
|
||||||
-- args will override ones defined
|
-- args will override ones defined
|
||||||
|
|
Loading…
Reference in New Issue