doc: Add a textbox widget default screenshot
This commit is contained in:
parent
de2d6fb521
commit
ec2cfc7be2
|
@ -1,4 +1,6 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--
|
||||||
|
--@DOC_wibox_widget_defaults_textbox_EXAMPLE@
|
||||||
-- @author Uli Schlachter
|
-- @author Uli Schlachter
|
||||||
-- @author dodo
|
-- @author dodo
|
||||||
-- @copyright 2010, 2011 Uli Schlachter, dodo
|
-- @copyright 2010, 2011 Uli Schlachter, dodo
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue