doc: Add a stack layout default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-25 15:27:11 -04:00
parent 163748c782
commit ab40a342af
2 changed files with 11 additions and 0 deletions

View File

@ -8,6 +8,7 @@
-- The indices are going from 1 (the bottom of the stack) up to the top of
-- the stack. The order can be changed either using `:swap` or `:raise`.
--
--@DOC_wibox_layout_defaults_stack_EXAMPLE@
-- @author Emmanuel Lepage Vallee
-- @copyright 2016 Emmanuel Lepage Vallee
-- @release @AWESOME_VERSION@

View File

@ -0,0 +1,10 @@
local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
return --DOC_HIDE
wibox.widget {
generic_widget( "first" ),
generic_widget( "second" ),
generic_widget( "third" ),
layout = wibox.layout.stack
}