naughty.widget.title: Update the property documentation.
This commit is contained in:
parent
0014785c85
commit
2c14e90a89
|
@ -25,6 +25,7 @@ local title = {}
|
||||||
--- The attached notification.
|
--- The attached notification.
|
||||||
-- @property notification
|
-- @property notification
|
||||||
-- @tparam naughty.notification notification
|
-- @tparam naughty.notification notification
|
||||||
|
-- @propertydefault This is usually set in the construtor.
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
|
|
||||||
function title:set_notification(notif)
|
function title:set_notification(notif)
|
||||||
|
@ -87,8 +88,6 @@ local function new(args)
|
||||||
return tb
|
return tb
|
||||||
end
|
end
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
--@DOC_object_COMMON@
|
||||||
|
|
||||||
return setmetatable(title, {__call = function(_, ...) return new(...) end})
|
return setmetatable(title, {__call = function(_, ...) return new(...) end})
|
||||||
|
|
Loading…
Reference in New Issue