2017-02-10 01:10:12 +01:00
|
|
|
local generic_widget, generic_before_after = ... --DOC_HIDE_ALL
|
|
|
|
local wibox = require("wibox") --DOC_HIDE
|
|
|
|
local beautiful = require("beautiful") --DOC_HIDE
|
|
|
|
|
|
|
|
print("l:add_widget_at(new, 1, 4, 1, 1)") --DOC_HIDE
|
|
|
|
|
|
|
|
local w = generic_before_after(wibox.layout.grid, {
|
|
|
|
forced_num_cols = 3,
|
|
|
|
forced_num_rows = 2,
|
|
|
|
homogeneous = true,
|
2016-10-09 07:32:31 +02:00
|
|
|
}, 6, "add_widget_at", {--DOC_HIDE
|
2017-02-10 01:10:12 +01:00
|
|
|
generic_widget("__new__",beautiful.bg_highlight) --DOC_HIDE
|
2016-10-09 07:32:31 +02:00
|
|
|
, 1, 4, 1, 1 --DOC_HIDE
|
2017-02-10 01:10:12 +01:00
|
|
|
}) --DOC_HIDE
|
|
|
|
|
|
|
|
return w, w:fit({dpi=96}, 9999, 9999) --DOC_HIDE
|