doc(@supermodule): Add to wibox.layout modules
This commit is contained in:
parent
3b12a8d19a
commit
3969ad8819
|
@ -4,6 +4,7 @@
|
||||||
-- @author Uli Schlachter
|
-- @author Uli Schlachter
|
||||||
-- @copyright 2010 Uli Schlachter
|
-- @copyright 2010 Uli Schlachter
|
||||||
-- @layoutmod wibox.layout.align
|
-- @layoutmod wibox.layout.align
|
||||||
|
-- @supermodule wibox.widget.base
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local table = table
|
local table = table
|
||||||
|
@ -320,10 +321,6 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return align
|
return align
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
-- @author Uli Schlachter
|
-- @author Uli Schlachter
|
||||||
-- @copyright 2010 Uli Schlachter
|
-- @copyright 2010 Uli Schlachter
|
||||||
-- @layoutmod wibox.layout.fixed
|
-- @layoutmod wibox.layout.fixed
|
||||||
|
-- @supermodule wibox.widget.base
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1)
|
local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1)
|
||||||
|
@ -381,10 +382,6 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return fixed
|
return fixed
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
-- @author Uli Schlachter
|
-- @author Uli Schlachter
|
||||||
-- @copyright 2010 Uli Schlachter
|
-- @copyright 2010 Uli Schlachter
|
||||||
-- @layoutmod wibox.layout.flex
|
-- @layoutmod wibox.layout.flex
|
||||||
|
-- @supermodule wibox.layout.fixed
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local base = require("wibox.widget.base")
|
local base = require("wibox.widget.base")
|
||||||
|
@ -208,10 +209,6 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return flex
|
return flex
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
-- @author getzze
|
-- @author getzze
|
||||||
-- @copyright 2017 getzze
|
-- @copyright 2017 getzze
|
||||||
-- @layoutmod wibox.layout.grid
|
-- @layoutmod wibox.layout.grid
|
||||||
|
-- @supermodule wibox.widget.base
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local setmetatable = setmetatable
|
local setmetatable = setmetatable
|
||||||
|
@ -961,10 +962,6 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return setmetatable(grid, grid.mt)
|
return setmetatable(grid, grid.mt)
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
-- @author Emmanuel Lepage Vallee
|
-- @author Emmanuel Lepage Vallee
|
||||||
-- @copyright 2016 Emmanuel Lepage Vallee
|
-- @copyright 2016 Emmanuel Lepage Vallee
|
||||||
-- @layoutmod wibox.layout.manual
|
-- @layoutmod wibox.layout.manual
|
||||||
|
-- @supermodule wibox.widget.base
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
local gtable = require("gears.table")
|
local gtable = require("gears.table")
|
||||||
local base = require("wibox.widget.base")
|
local base = require("wibox.widget.base")
|
||||||
|
@ -245,8 +246,4 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return setmetatable(manual_layout, {__call=function(_,...) return new_manual(...) end})
|
return setmetatable(manual_layout, {__call=function(_,...) return new_manual(...) end})
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
-- @author Emmanuel Lepage Vallee
|
-- @author Emmanuel Lepage Vallee
|
||||||
-- @copyright 2016 Emmanuel Lepage Vallee
|
-- @copyright 2016 Emmanuel Lepage Vallee
|
||||||
-- @layoutmod wibox.layout.ratio
|
-- @layoutmod wibox.layout.ratio
|
||||||
|
-- @supermodule wibox.layout.flex
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local base = require("wibox.widget.base" )
|
local base = require("wibox.widget.base" )
|
||||||
|
@ -524,10 +525,6 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return ratio
|
return ratio
|
||||||
|
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
-- @author Emmanuel Lepage Vallee
|
-- @author Emmanuel Lepage Vallee
|
||||||
-- @copyright 2016 Emmanuel Lepage Vallee
|
-- @copyright 2016 Emmanuel Lepage Vallee
|
||||||
-- @layoutmod wibox.layout.stack
|
-- @layoutmod wibox.layout.stack
|
||||||
|
-- @supermodule wibox.layout.fixed
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
local base = require("wibox.widget.base" )
|
local base = require("wibox.widget.base" )
|
||||||
|
@ -210,9 +211,5 @@ end
|
||||||
|
|
||||||
--@DOC_fixed_COMMON@
|
--@DOC_fixed_COMMON@
|
||||||
|
|
||||||
--@DOC_widget_COMMON@
|
|
||||||
|
|
||||||
--@DOC_object_COMMON@
|
|
||||||
|
|
||||||
return setmetatable(stack, stack.mt)
|
return setmetatable(stack, stack.mt)
|
||||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||||
|
|
Loading…
Reference in New Issue