awesome/tests/examples/wibox/widget/checkbox/bg.lua

22 lines
712 B
Lua
Raw Normal View History

2016-07-26 08:08:56 +02:00
local parent = ... --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE
local beautiful = require( "beautiful" ) --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
checked = true,
color = beautiful.bg_normal,
bg = "#ff00ff",
border_width = 3,
paddings = 4,
border_color = "#0000ff",
check_color = "#ff0000",
forced_width = 20, --DOC_HIDE
forced_height = 20, --DOC_HIDE
check_border_color = "#ffff00",
check_border_width = 1,
widget = wibox.widget.checkbox
}
) --DOC_HIDE
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80