|
|
|
|
|
| Description |
This widget displays an image.
- Because Haskell is not the best language to modify large images directly
only functions are bound that allow loading images from disc or by stock
names.
- Another function for extracting the Pixbuf is added for
CellRenderer.
TODO
- Figure out what other functions are useful within Haskell. Maybe we should
support loading Pixmaps without exposing them.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| imageNewFromFile :: FilePath -> IO Image |
| Create an image by loading a file.
|
|
| type IconSize = Int |
|
| iconSizeMenu :: IconSize |
|
| iconSizeSmallToolbar :: IconSize |
|
| iconSizeLargeToolbar :: IconSize |
|
| iconSizeButton :: IconSize |
|
| iconSizeDialog :: IconSize |
|
| imageNewFromStock :: String -> IconSize -> IO Image |
| Create a set of images by specifying a stock
object.
|
|
| imageGetPixbuf :: Image -> IO Pixbuf |
| Extract the Pixbuf from the Image.
|
|
| imageNewFromPixbuf :: Pixbuf -> IO Image |
| Create an Image from a
Pixbuf.
|
|
| Produced by Haddock version 0.6 |