doc: Add a progressbar widget default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-25 17:22:44 -04:00
parent f29eeed82e
commit 83a9a9e67a
2 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---------------------------------------------------------------------------
--- A progressbar widget.
--
--@DOC_wibox_widget_defaults_progressbar_EXAMPLE@
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @release @AWESOME_VERSION@

View File

@ -0,0 +1,12 @@
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
max_value = 1,
value = 0.33,
widget = wibox.widget.progressbar
}
) --DOC_HIDE