naughty.layout.box: Update the property documentation.

This commit is contained in:
Emmanuel Lepage Vallee 2022-08-21 23:02:26 -07:00
parent c3a73cab53
commit eb21c24acb
1 changed files with 2 additions and 3 deletions

View File

@ -167,6 +167,7 @@ end)
--
-- @property notification
-- @tparam naughty.notification notification
-- @propertydefault This must be provided by the constructor.
-- @propemits true false
--- The widget template to construct the box content.
@ -208,7 +209,7 @@ end)
-- }
--
-- @property widget_template
-- @tparam[opt=nil] widget|nil|table widget_template
-- @tparam[opt=nil] template|nil widget_template
-- @usebeautiful beautiful.notification_max_width The maximum width for the
-- resulting widget.
@ -396,6 +397,4 @@ local function new(args)
return ret
end
--@DOC_wibox_COMMON@
return setmetatable(box, {__call = function(_, args) return new(args) end})