Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
Pixmaps -- Offscreen drawables
This module is empty when built with Gtk3 because Pixmap has been removed.
- 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
.