Class wibox

Info:

  • Copyright: 2010 Uli Schlachter
  • Author: Uli Schlachter

Functions

.wibox ([args=nil]) Create a wibox.

Methods

wibox:draw (wibox) Redraw a wibox.


Functions

.wibox ([args=nil])
Create a wibox.
  • args
    • border_width integer Border width.
    • border_color string Border color.
    • ontop boolean On top of other windows.
    • cursor string The mouse cursor.
    • visible boolean Visibility.
    • opacity number The opacity of the wibox, between 0 and 1.
    • type string The window type (desktop, normal, dock, …).
    • x integer The x coordinates.
    • y integer The y coordinates.
    • width integer The width of the wibox.
    • height integer The height of the wibox.
    • screen screen The wibox screen.
    • widget wibox.widget The widget that the wibox displays.
    • shape_bounding The wibox’s bounding shape as a (native) cairo surface.
    • shape_clip The wibox’s clip shape as a (native) cairo surface.
    • bg color The background of the wibox.
    • bgimage surface The background image of the drawable.
    • fg color The foreground (text) of the wibox.

Returns:

    wibox The new wibox

Methods

wibox:draw (wibox)
Redraw a wibox. You should never have to call this explicitely because it is automatically called when needed.
  • wibox
generated by LDoc 1.4.2