mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
doc: Add a textbox widget default screenshot
This commit is contained in:
parent
de2d6fb521
commit
ec2cfc7be2
2 changed files with 15 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
---------------------------------------------------------------------------
|
||||
--
|
||||
--@DOC_wibox_widget_defaults_textbox_EXAMPLE@
|
||||
-- @author Uli Schlachter
|
||||
-- @author dodo
|
||||
-- @copyright 2010, 2011 Uli Schlachter, dodo
|
||||
|
|
13
tests/examples/wibox/widget/defaults/textbox.lua
Normal file
13
tests/examples/wibox/widget/defaults/textbox.lua
Normal 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
|
Loading…
Reference in a new issue