awesome API documentation

# Module `wibox.layout.fixed`

### Info:

- Copyright: 2010 Uli Schlachter
- Release: v3.5.9
- Author: Uli Schlachter

## Functions

draw (wibox, cr, width, height) | Draw a fixed layout.
add (widget) | Add a widget to the given fixed layout
fit (orig_width, orig_height) | Fit the fixed layout into the given space
reset () | Reset a fixed layout.
fill_space (val) | Set the layout's fill_space property.
horizontal () | Returns a new horizontal fixed layout.
vertical () | Returns a new vertical fixed layout.

## Functions

draw (wibox, cr, width, height)
  Draw a fixed layout. Each widget gets just the space it asks for.

  ### Parameters:

  - wibox The wibox that this widget is drawn to.
  - cr The cairo context to use.
  - width The available width.
  - height The available height.

  ### Returns:

  The total space needed by the layout.
add (widget)
  Add a widget to the given fixed layout

  ### Parameters:

  - widget
fit (orig_width, orig_height)
  Fit the fixed layout into the given space

  ### Parameters:

  - orig_width The available width.
  - orig_height The available height.
reset ()
  Reset a fixed layout. This removes all widgets from the layout.
fill_space (val)
  Set the layout's fill_space property. If this property is true, the last widget will get all the space that is left. If this is false, the last widget won't be handled specially and there can be space left unused.

  ### Parameters:

  - val
horizontal ()
  Returns a new horizontal fixed layout. Each widget will get as much space as it asks for and each widget will be drawn next to its neighboring widget. Widgets can be added via :add().
vertical ()
  Returns a new vertical fixed layout. Each widget will get as much space as it asks for and each widget will be drawn next to its neighboring widget. Widgets can be added via :add().

generated by LDoc 1.4.3 Last updated 2016-08-08 05:23:17