Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
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
class DrawableClass o => PixmapClass o Source
Constructors
:: 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
drawable
can only be aDrawWindow
, not an arbitaryDrawable
.