doc: Add a textbox widget default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-25 16:37:04 -04:00
parent de2d6fb521
commit ec2cfc7be2
2 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,6 @@
---------------------------------------------------------------------------
--
--@DOC_wibox_widget_defaults_textbox_EXAMPLE@
-- @author Uli Schlachter
-- @author dodo
-- @copyright 2010, 2011 Uli Schlachter, dodo

View File

@ -0,0 +1,13 @@
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget{
markup = "This <i>is</i> a <b>textbox</b>!!!",
align = "center",
valign = "center",
widget = wibox.widget.textbox
}
) --DOC_HIDE