GDK Reference Manualfilename : the filename of a file containing XPM data. Returns : the GdkPixmap
Create a pixmap from a XPM file using a particular colormap. window : a GdkWindow, used to determine default values for the new pixmap. Can be NULL if colormap is given. colormap : the GdkColormap that the new pixmap will be use. If omitted, the colormap for window will be used. mask : a pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be NULL, in which case transparency will be ignored. transparent_color : the color to be used for the pixels that are transparent in the input file. Can be NULL, in which case a default color will be used. filename : the filename of a file containing XPM data. Returns : the GdkPixmap.
Create a pixmap from data in XPM format. window : a GdkWindow, used to determine default values for the new pixmap. mask : Pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be NULL, in which case transparency will be ignored. transparent_color : This color will be used for the pixels that are transparent in the input file. Can be NULL in which case a default color will be used. data : Pointer to a string containing the XPM data. Returns : the GdkPixmap
Create a pixmap from data in XPM format using a particular colormap. window : a GdkWindow, used to determine default values for the new pixmap. Can be NULL if colormap is given. colormap : the GdkColormap that the new pixmap will be use. If omitted, the colormap for window will be used. mask : a pointer to a place to store a bitmap representing the transparency mask of the XPM file. Can be NULL, in which case transparency will be ignored. transparent_color : the color to be used for the pixels that are transparent in the input file. Can be NULL, in which case a default color will be used. data : Pointer to a string containing the XPM data. Returns : the GdkPixmap.
Increase the reference count of a pixmap. pixmap : a GdkPixmap Returns : pixmap
Decrease the reference count of a pixmap. If the resulting reference count is zero, destroy the pixmap. pixmap : a GdkPixmap struct GdkBitmap
An opaque structure representing an offscreen drawable of depth 1. Pointers to structures of type GdkPixmap, GdkBitmap, and GdkWindow, can often be used interchangeably. The type GdkDrawable refers generically to any of these types.
Increase the reference count of a bitmap. An alias for gdk_pixmap_ref(). pixmap : Returns :
Decrease the reference count of a bitmap. An alias for gdk_pixmap_unref(). pixmap : GdkRGB Name GdkRGB -- displays RGB images (as well as grayscale and colormapped) to the native window. Synopsis
|