2016-05-10 03:35:02 +02:00
|
|
|
--- Border width.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property border_width
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam[opt=0] integer border_width
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @propertyunit pixel
|
|
|
|
-- @negativeallowed false
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- Border color.
|
|
|
|
--
|
|
|
|
-- Please note that this property only support string based 24 bit or 32 bit
|
|
|
|
-- colors:
|
|
|
|
--
|
|
|
|
-- Red Blue
|
|
|
|
-- _| _|
|
|
|
|
-- #FF00FF
|
|
|
|
-- T‾
|
|
|
|
-- Green
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- Red Blue
|
|
|
|
-- _| _|
|
|
|
|
-- #FF00FF00
|
|
|
|
-- T‾ ‾T
|
|
|
|
-- Green Alpha
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property border_color
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam[opt=beautiful.fg_normal] string border_color
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- On top of other windows.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property ontop
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam[opt=false] boolean ontop
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The mouse cursor.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property cursor
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=nil] string|nil cursor
|
|
|
|
-- @propertytype nil Do not change the mouse cursor.
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see mouse
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- Visibility.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property visible
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=false] boolean visible
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The opacity of the wibox, between 0 and 1.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property opacity
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=true] number opacity
|
|
|
|
-- @rangestart 0.0
|
|
|
|
-- @rangestop 1.0
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The window type (desktop, normal, dock, ...).
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property type
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=""] string type
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see client.type
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The x coordinates.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property x
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=0] integer x
|
|
|
|
-- @propertyunit pixel
|
|
|
|
-- @negativeallowed true
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The y coordinates.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property y
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=0] integer y
|
|
|
|
-- @propertyunit pixel
|
|
|
|
-- @negativeallowed true
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The width of the wibox.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property width
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=1] integer width
|
|
|
|
-- @propertyunit pixel
|
|
|
|
-- @rangestart 1
|
|
|
|
-- @negativeallowed false
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The height of the wibox.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property height
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=1] integer height
|
|
|
|
-- @propertyunit pixel
|
|
|
|
-- @rangestart 1
|
|
|
|
-- @negativeallowed false
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The wibox screen.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property screen
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam screen screen
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @propertydefault The screen which contains `0x0`.
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
2022-08-22 08:02:26 +02:00
|
|
|
-- The wibox's `drawable`.
|
2016-05-10 03:35:02 +02:00
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property drawable
|
|
|
|
-- @tparam drawable drawable
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The widget that the `wibox` displays.
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property widget
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=nil] widget|nil widget
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The X window id.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property window
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam string window
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @propertydefault Autogenerated.
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see client.window
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The wibox's bounding shape as a (native) cairo surface.
|
|
|
|
--
|
2019-12-21 22:25:25 +01:00
|
|
|
-- If you want to set a shape, let say some rounded corners, use
|
|
|
|
-- the `shape` property rather than this. If you want something
|
|
|
|
-- very complex, for example, holes, then use this.
|
2016-05-10 03:35:02 +02:00
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property shape_bounding
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam surface._native shape_bounding
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @propertydefault Fill all pixels.
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
|
|
|
-- @see shape
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The wibox's clip shape as a (native) cairo surface.
|
|
|
|
--
|
2019-12-21 22:25:25 +01:00
|
|
|
-- The clip shape is the shape of the window *content* rather
|
|
|
|
-- than the outer window shape.
|
2016-05-10 03:35:02 +02:00
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property shape_clip
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam surface._native shape_clip
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @propertydefault Fill all pixels.
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
|
|
|
-- @see shape
|
2016-05-10 03:35:02 +02:00
|
|
|
|
2017-01-26 11:15:28 +01:00
|
|
|
--- The wibox's input shape as a (native) cairo surface.
|
|
|
|
--
|
2019-12-21 22:25:25 +01:00
|
|
|
-- The input shape allows to disable clicks and mouse events
|
|
|
|
-- on part of the window. This is how `input_passthrough` is
|
|
|
|
-- implemented.
|
2017-01-26 11:15:28 +01:00
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2017-01-26 11:15:28 +01:00
|
|
|
-- @property shape_input
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam surface._native shape_input
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @propertydefault Fill all pixels.
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
|
|
|
-- @see input_passthrough
|
2017-02-27 22:10:45 +01:00
|
|
|
|
|
|
|
--- The wibar's shape.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2017-02-27 22:10:45 +01:00
|
|
|
-- @property shape
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=gears.shape.rectangle] shape shape
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
|
|
|
-- @see gears.shape
|
2017-02-27 22:10:45 +01:00
|
|
|
|
2017-11-24 04:54:13 +01:00
|
|
|
--- Forward the inputs to the client below the wibox.
|
|
|
|
--
|
|
|
|
-- This replace the `shape_input` mask with an empty area. All mouse and
|
|
|
|
-- keyboard events are sent to the object (such as a client) positioned below
|
|
|
|
-- this wibox. When used alongside compositing, it allows, for example, to have
|
|
|
|
-- a subtle transparent wibox on top a fullscreen client to display important
|
|
|
|
-- data such as a low battery warning.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2017-11-24 04:54:13 +01:00
|
|
|
-- @property input_passthrough
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam[opt=false] boolean input_passthrough
|
2017-11-24 04:54:13 +01:00
|
|
|
-- @see shape_input
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
2017-11-24 04:54:13 +01:00
|
|
|
|
2016-05-10 03:35:02 +02:00
|
|
|
--- Get or set mouse buttons bindings to a wibox.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @property buttons
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt={}] table buttons A table of buttons objects, or nothing.
|
|
|
|
-- @tablerowtype A list of `awful.button`s.
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits false false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- Get or set wibox geometry. That's the same as accessing or setting the x,
|
|
|
|
-- y, width or height properties of a wibox.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam[opt=nil] table|nil geo A table with coordinates to modify. If
|
|
|
|
-- nothing is specified, it only returns the current geometry.
|
2022-07-05 10:37:14 +02:00
|
|
|
-- @treturn table A table with wibox coordinates and geometry.
|
2019-06-06 22:32:53 +02:00
|
|
|
-- @method geometry
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @emits property::geometry When the geometry change.
|
|
|
|
-- @emitstparam property::geometry table geo The geometry table.
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- Get or set wibox struts.
|
|
|
|
--
|
2019-12-21 22:25:25 +01:00
|
|
|
-- Struts are the area which should be reserved on each side of
|
|
|
|
-- the screen for this wibox. This is used to make bars and
|
|
|
|
-- docked displays. Note that `awful.wibar` implements all the
|
|
|
|
-- required boilerplate code to make bar. Only use this if you
|
|
|
|
-- want special type of bars (like bars not fully attached to
|
|
|
|
-- the side of the screen).
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @return The wibox strut in a table.
|
2019-06-06 22:32:53 +02:00
|
|
|
-- @method struts
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam table struts A table with new strut, or nothing.
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see client.struts
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @emits property::struts
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- Set a declarative widget hierarchy description.
|
|
|
|
-- See [The declarative layout system](../documentation/03-declarative-layout.md.html)
|
|
|
|
-- @param args An array containing the widgets disposition
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2019-06-06 22:32:53 +02:00
|
|
|
-- @method setup
|
2022-07-05 10:37:14 +02:00
|
|
|
-- @noreturn
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The background of the wibox.
|
2019-12-21 22:25:25 +01:00
|
|
|
--
|
|
|
|
-- The background color can be transparent. If there is a
|
|
|
|
-- compositing manager such as compton, then it will be
|
|
|
|
-- real transparency and may include blur (provided by the
|
|
|
|
-- compositor). When there is no compositor, it will take
|
|
|
|
-- a picture of the wallpaper and blend it.
|
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property bg
|
2021-12-21 06:54:15 +01:00
|
|
|
-- @tparam[opt=beautiful.bg_normal] color bg The background to use. This
|
|
|
|
-- must either be a cairo pattern object, nil or a string that gears.color() understands.
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see gears.color
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
|
|
|
-- @usebeautiful beautiful.bg_normal The default (fallback) bg color.
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The background image of the drawable.
|
2019-12-21 22:25:25 +01:00
|
|
|
--
|
2016-05-10 03:35:02 +02:00
|
|
|
-- If `image` is a function, it will be called with `(context, cr, width, height)`
|
|
|
|
-- as arguments. Any other arguments passed to this method will be appended.
|
2019-12-21 22:25:25 +01:00
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property bgimage
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=nil] image|nil bgimage
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see gears.surface
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- The foreground (text) of the wibox.
|
2021-12-21 06:54:15 +01:00
|
|
|
--
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @property fg
|
2022-08-22 08:02:26 +02:00
|
|
|
-- @tparam[opt=beautiful.fg_normal] color fg
|
2016-05-10 03:35:02 +02:00
|
|
|
-- @see gears.color
|
2019-12-21 22:25:25 +01:00
|
|
|
-- @propemits true false
|
|
|
|
-- @usebeautiful beautiful.fg_normal The default (fallback) fg color.
|
2016-05-10 03:35:02 +02:00
|
|
|
|
|
|
|
--- Find a widget by a point.
|
|
|
|
-- The wibox must have drawn itself at least once for this to work.
|
|
|
|
-- @tparam number x X coordinate of the point
|
|
|
|
-- @tparam number y Y coordinate of the point
|
|
|
|
-- @treturn table A sorted table of widgets positions. The first element is the biggest
|
|
|
|
-- container while the last is the topmost widget. The table contains *x*, *y*,
|
|
|
|
-- *width*, *height* and *widget*.
|
2019-11-26 13:50:13 +01:00
|
|
|
-- @baseclass wibox
|
2019-06-06 22:32:53 +02:00
|
|
|
-- @method find_widgets
|