diff --git a/lib/awful/widget/clienticon.lua b/lib/awful/widget/clienticon.lua index 69e53aca5..3d6a8238b 100644 --- a/lib/awful/widget/clienticon.lua +++ b/lib/awful/widget/clienticon.lua @@ -84,6 +84,7 @@ end -- -- @property client -- @param client +-- @propemits true false function clienticon:get_client() return self._private.client @@ -94,6 +95,7 @@ function clienticon:set_client(c) self._private.client = c self:emit_signal("widget::layout_changed") self:emit_signal("widget::redraw_needed") + self:emit_signal("property::client", c) end --- Returns a new clienticon. diff --git a/lib/awful/widget/keyboardlayout.lua b/lib/awful/widget/keyboardlayout.lua index 99d9e7a9f..14442aed6 100644 --- a/lib/awful/widget/keyboardlayout.lua +++ b/lib/awful/widget/keyboardlayout.lua @@ -310,6 +310,10 @@ function keyboardlayout.mt:__call(...) return _instance end +--@DOC_widget_COMMON@ + +--@DOC_object_COMMON@ + return setmetatable(keyboardlayout, keyboardlayout.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/launcher.lua b/lib/awful/widget/launcher.lua index 79dfabbb9..0b6e675ce 100644 --- a/lib/awful/widget/launcher.lua +++ b/lib/awful/widget/launcher.lua @@ -50,6 +50,10 @@ function launcher.mt:__call(...) return launcher.new(...) end +--@DOC_widget_COMMON@ + +--@DOC_object_COMMON@ + return setmetatable(launcher, launcher.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/layoutlist.lua b/lib/awful/widget/layoutlist.lua index 1241bf5e7..43a702f9d 100644 --- a/lib/awful/widget/layoutlist.lua +++ b/lib/awful/widget/layoutlist.lua @@ -178,12 +178,14 @@ local layoutlist = {} -- automatically. -- @property base_layout -- @param widget +-- @propemits true false -- @see wibox.layout.fixed.vertical -- @see base_layout --- The delegate widget template. -- @property widget_template -- @param table +-- @propemits true false --- The layoutlist screen. -- @property screen @@ -329,6 +331,7 @@ function layoutlist:set_base_layout(layout) self:emit_signal("widget::layout_changed") self:emit_signal("widget::redraw_needed") + self:emit_signal("property::base_layout", layout) end function layoutlist:set_widget_template(widget_template) @@ -345,6 +348,7 @@ function layoutlist:set_widget_template(widget_template) self:emit_signal("widget::layout_changed") self:emit_signal("widget::redraw_needed") + self:emit_signal("property::widget_template", widget_template) end function layoutlist:layout(_, width, height) diff --git a/lib/awful/widget/prompt.lua b/lib/awful/widget/prompt.lua index a3b29d2b6..611b80a31 100644 --- a/lib/awful/widget/prompt.lua +++ b/lib/awful/widget/prompt.lua @@ -158,6 +158,10 @@ function widgetprompt.mt:__call(...) return widgetprompt.new(...) end +--@DOC_widget_COMMON@ + +--@DOC_object_COMMON@ + return setmetatable(widgetprompt, widgetprompt.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/taglist.lua b/lib/awful/widget/taglist.lua index 7d2150c87..7e8b117c9 100644 --- a/lib/awful/widget/taglist.lua +++ b/lib/awful/widget/taglist.lua @@ -607,6 +607,10 @@ function taglist.mt:__call(...) return taglist.new(...) end +--@DOC_widget_COMMON@ + +--@DOC_object_COMMON@ + return setmetatable(taglist, taglist.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/tasklist.lua b/lib/awful/widget/tasklist.lua index 89942037d..d2fe7cfee 100644 --- a/lib/awful/widget/tasklist.lua +++ b/lib/awful/widget/tasklist.lua @@ -739,6 +739,10 @@ function tasklist.mt:__call(...) return tasklist.new(...) end +--@DOC_widget_COMMON@ + +--@DOC_object_COMMON@ + return setmetatable(tasklist, tasklist.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/lib/awful/widget/watch.lua b/lib/awful/widget/watch.lua index 03926c14e..b45fe6448 100644 --- a/lib/awful/widget/watch.lua +++ b/lib/awful/widget/watch.lua @@ -88,6 +88,10 @@ function watch.mt.__call(_, ...) return watch.new(...) end +--@DOC_widget_COMMON@ + +--@DOC_object_COMMON@ + return setmetatable(watch, watch.mt) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80