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

21 lines
623 B
Lua

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