| Portability | portable (depends on GHC) |
|---|---|
| Stability | provisional |
| Maintainer | gtk2hs-users@lists.sourceforge.net |
Graphics.UI.Gtk.Gdk.Pixmap
Contents
Description
Pixmaps -- Offscreen drawables
- data Pixmap
- class DrawableClass o => PixmapClass o
- type Bitmap = Pixmap
- pixmapNew :: DrawableClass drawable => Maybe drawable -> Int -> Int -> Maybe Int -> IO Pixmap
Detail
Class Hierarchy
Types
Instances
class DrawableClass o => PixmapClass o Source
Instances
Constructors
Arguments
| :: DrawableClass drawable | |
| => Maybe drawable |
|
| -> Int |
|
| -> Int |
|
| -> Maybe Int |
|
| -> IO Pixmap |
Create a new pixmap.
If drawable is Nothing, the depth of the pixmap is taken from the
depth parameter, otherwise the pixmap has the same depth as the
Drawable specified by drawable. Therefore, at least one of drawable
and depth must not be Nothing.
- Note that in Gtk+ 2.0 the
drawablecan only be aDrawWindow, not an arbitaryDrawable.