mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
d99504775b
Do it now since the future awful.popup and notification widget also uses it. The `load_ldoc.cmake` changes allow to include `.ldoc` blocks in existing ldoc comments. Previously, it added some extra newlines and an autogenerated comments saying the content below was imported. The problem is that this prevented the system to be used for shared function arguments. This commit also renames the `wibar` argument table from `arg` to `args` as the name has to be the same in the `wibox` and `wibar` constructor for this to work.
22 lines
1.2 KiB
Text
22 lines
1.2 KiB
Text
@tparam integer args.border_width Border width.
|
||
-- @tparam string args.border_color Border color.
|
||
-- @tparam[opt=false] boolean args.ontop On top of other windows.
|
||
-- @tparam string args.cursor The mouse cursor.
|
||
-- @tparam boolean args.visible Visibility.
|
||
-- @tparam[opt=1] number args.opacity The opacity, between 0 and 1.
|
||
-- @tparam string args.type The window type (desktop, normal, dock, …).
|
||
-- @tparam integer args.x The x coordinates.
|
||
-- @tparam integer args.y The y coordinates.
|
||
-- @tparam integer args.width The width.
|
||
-- @tparam integer args.height The height.
|
||
-- @tparam screen args.screen The wibox screen.
|
||
-- @tparam wibox.widget args.widget The widget that the wibox displays.
|
||
-- @param args.shape_bounding The wibox’s bounding shape as a (native) cairo surface.
|
||
-- @param args.shape_clip The wibox’s clip shape as a (native) cairo surface.
|
||
-- @param args.shape_input The wibox’s input shape as a (native) cairo surface.
|
||
-- @tparam color args.bg The background.
|
||
-- @tparam surface args.bgimage The background image of the drawable.
|
||
-- @tparam color args.fg The foreground (text) color.
|
||
-- @tparam gears.shape args.shape The shape.
|
||
-- @tparam[opt=false] boolean args.input_passthrough If the inputs are
|
||
-- forward to the element below.
|