| Maintainer | gtk2hs-users@lists.sourceforge.net |
|---|---|
| Stability | provisional |
| Portability | portable (depends on GHC) |
| Safe Haskell | None |
| Language | Haskell98 |
Graphics.UI.Gtk.Gdk.Pixmap
Description
Pixmaps -- Offscreen drawables
This module is empty when built with Gtk3 because Pixmap has been removed.
Synopsis
- 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
| Eq Pixmap # | |
| Ord Pixmap # | |
| GObjectClass Pixmap # | |
Defined in Graphics.UI.Gtk.Types | |
| PixmapClass Pixmap # | |
Defined in Graphics.UI.Gtk.Types | |
| DrawableClass Pixmap # | |
Defined in Graphics.UI.Gtk.Types | |
class DrawableClass o => PixmapClass o #
Instances
| PixmapClass Pixmap # | |
Defined in Graphics.UI.Gtk.Types | |
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.