doc: Add an imagebox widget default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-25 17:56:23 -04:00
parent 940a623c34
commit a8505ed019
2 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,6 @@
---------------------------------------------------------------------------
--
--@DOC_wibox_widget_defaults_imagebox_EXAMPLE@
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@

View File

@ -0,0 +1,13 @@
local parent = ... --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE
local beautiful = require( "beautiful" ) --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
image = beautiful.awesome_icon,
resize = false,
widget = wibox.widget.imagebox
}
) --DOC_HIDE