Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Graphics.UI.Gtk.Gdk.
Pixmap Pixmaps -- Offscreen drawables This module is empty when built with Gtk3 because Pixmap has been removed.
-
gtk Graphics.UI.Gtk.Gdk.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.
-
gtk Graphics.UI.Gtk.Gdk.Pixmap No documentation available.
class DrawableClass o =>
PixmapClass ogtk Graphics.UI.Gtk.Gdk.Pixmap No documentation available.
pixmapNew :: DrawableClass drawable => Maybe drawable -> Int -> Int -> Maybe Int -> IO Pixmapgtk Graphics.UI.Gtk.Gdk.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 a DrawWindow, not an arbitrary Drawable.
screenDefaultColormap :: Attr Screen Colormapgtk Graphics.UI.Gtk.Gdk.Screen Sets the default colormap for screen. Gets the default colormap for screen. Removed in Gtk3.
screenGetDefaultColormap :: Screen -> IO Colormapgtk Graphics.UI.Gtk.Gdk.Screen Deprecated: instead of 'screenGetDefaultColormap obj' use 'get obj screenDefaultColormap'
screenGetRGBAColormap :: Screen -> IO (Maybe Colormap)gtk Graphics.UI.Gtk.Gdk.Screen Gets a colormap to use for creating windows or pixmaps with an alpha channel. The windowing system on which Gtk+ is running may not support this capability, in which case Nothing will be returned. Even if a non-Nothing value is returned, its possible that the window's alpha channel won't be honored when displaying the window on the screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display.
- Available since Gdk version 2.8
screenGetSystemColormap :: Screen -> IO Colormapgtk Graphics.UI.Gtk.Gdk.Screen Gets the system default colormap for screen Removed in Gtk3.
screenSetDefaultColormap :: Screen -> Colormap -> IO ()gtk Graphics.UI.Gtk.Gdk.Screen Deprecated: instead of 'screenSetDefaultColormap obj value' use 'set obj [ screenDefaultColormap := value ]'