doc(w.c.radialprogressbar): Show example code

Adds the code snippet for the example shown in the module description.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-07-31 14:55:43 +02:00
parent c689af64d5
commit 0a68341c12
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
1 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
--DOC_HIDE_ALL --DOC_HIDE_START
--DOC_GEN_IMAGE --DOC_GEN_IMAGE
local wibox = require("wibox") local wibox = require("wibox")
@ -9,6 +9,7 @@ return {
widget = wibox.widget.textbox, widget = wibox.widget.textbox,
}, },
{ {
--DOC_HIDE_END
{ {
{ {
text = "After", text = "After",
@ -21,8 +22,9 @@ return {
min_value = 0, min_value = 0,
widget = wibox.container.radialprogressbar widget = wibox.container.radialprogressbar
}, },
--DOC_HIDE_START
margins = 5, margins = 5,
layout = wibox.container.margin layout = wibox.container.margin
} }
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80