class controls.Image(Widget)

An Image is a widget that displays an image.

Constructor

Image(image)
Initializes the widget to display the given image. The initial size is determined by the image.

Properties

image
The image to display.  The behaviour of this property can be customised by overriding the get_image() method.

Abstract Methods

get_image()
Called to get the value of the image property. By overriding this method, you can make the widget display an image from an outside source.
---