doc: Add a progressbar widget default screenshot
This commit is contained in:
parent
f29eeed82e
commit
83a9a9e67a
|
@ -1,6 +1,7 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
--- A progressbar widget.
|
--- A progressbar widget.
|
||||||
--
|
--
|
||||||
|
--@DOC_wibox_widget_defaults_progressbar_EXAMPLE@
|
||||||
-- @author Julien Danjou <julien@danjou.info>
|
-- @author Julien Danjou <julien@danjou.info>
|
||||||
-- @copyright 2009 Julien Danjou
|
-- @copyright 2009 Julien Danjou
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue