diff --git a/lib/wibox/widget/textbox.lua b/lib/wibox/widget/textbox.lua index ed4b35b01..3d783df66 100644 --- a/lib/wibox/widget/textbox.lua +++ b/lib/wibox/widget/textbox.lua @@ -1,4 +1,6 @@ --------------------------------------------------------------------------- +-- +--@DOC_wibox_widget_defaults_textbox_EXAMPLE@ -- @author Uli Schlachter -- @author dodo -- @copyright 2010, 2011 Uli Schlachter, dodo diff --git a/tests/examples/wibox/widget/defaults/textbox.lua b/tests/examples/wibox/widget/defaults/textbox.lua new file mode 100644 index 000000000..7de6f9d02 --- /dev/null +++ b/tests/examples/wibox/widget/defaults/textbox.lua @@ -0,0 +1,13 @@ +local parent = ... --DOC_HIDE +local wibox = require("wibox") --DOC_HIDE + +parent:add( --DOC_HIDE + +wibox.widget{ + markup = "This is a textbox!!!", + align = "center", + valign = "center", + widget = wibox.widget.textbox +} + +) --DOC_HIDE