gtk-0.11.0: Binding to the Gtk+ graphical user interface library.ContentsIndex
Graphics.UI.Gtk.Gdk.Pixmap
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Contents
Detail
Class Hierarchy
Types
Constructors
Description
Pixmaps -- Offscreen drawables
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
 | GObject
 | +----Drawable
 | +----Pixmap
Types
data Pixmap
show/hide Instances
class DrawableClass o => PixmapClass o
show/hide Instances
type Bitmap = Pixmap
A Bitmap is a special Pixmap in that the number of bits per pixel is one, that is, a pixel is either set or unset. Whenever a function expects a Bitmap, a Pixmap of depth one must be supplied.
Constructors
pixmapNew
:: DrawableClass drawable
=> Maybe drawabledrawable - drawable supplying default values for the pixmap
-> Intwidth - width of the pixmap
-> Intheight - height of the pixmap
-> Maybe Intdepth - depth of the pixmap
-> 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.

Produced by Haddock version 2.4.2