awesome API documentation

# Module `wibox.widget.imagebox`

### Info:

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

## Functions

draw (wibox, cr, width, height) | Draw an imagebox with the given cairo context in the given geometry.
fit (width, height) | Fit the imagebox into the given geometry
set_image (image) | Set an imagebox' image
set_resize (allowed) | Should the image be resized to fit into the available space?

## Functions

draw (wibox, cr, width, height)
  Draw an imagebox with the given cairo context in the given geometry.

  ### Parameters:

  - wibox
  - cr
  - width
  - height
fit (width, height)
  Fit the imagebox into the given geometry

  ### Parameters:

  - width
  - height
set_image (image)
  Set an imagebox' image

  ### Parameters:

  - image Either a string or a cairo image surface. A string is interpreted as the path to a png image file.
set_resize (allowed)
  Should the image be resized to fit into the available space?

  ### Parameters:

  - allowed If false, the image will be clipped, else it will be resized to fit into the available space.

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