Synopsis
#include <gtk/gtk.h>
GtkPixmap;
GtkWidget* gtk_pixmap_new (GdkPixmap *pixmap,
GdkBitmap *mask);
void gtk_pixmap_set (GtkPixmap *pixmap,
GdkPixmap *val,
GdkBitmap *mask);
void gtk_pixmap_get (GtkPixmap *pixmap,
GdkPixmap **val,
GdkBitmap **mask);
void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap,
gboolean build);
Object Hierarchy
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkPixmap
Description
The GtkPixmap widget displays a graphical image or icon.
The icon is typically created using The pixels in a GtkPixmap cannot be manipulated by the application after creation, since under the X Window system the pixel data is stored on the X server and so is not available to the client application. If you want to create graphical images which can be manipulated by the application, look at GtkImage and GdkRGB. GtkPixmap has been deprecated since GTK+ 2.0 and should not be used in newly written code. Use GtkImage instead. DetailsGtkPixmaptypedef struct _GtkPixmap GtkPixmap; Warning
The GtkPixmap struct contains private data only, and should be accessed using the functions below. gtk_pixmap_new ()GtkWidget* gtk_pixmap_new (GdkPixmap *pixmap, GdkBitmap *mask); Warning
Creates a new GtkPixmap, using the given GDK pixmap and mask.
gtk_pixmap_set ()void gtk_pixmap_set (GtkPixmap *pixmap, GdkPixmap *val, GdkBitmap *mask); Warning
Sets the GdkPixmap and GdkBitmap mask.
gtk_pixmap_get ()void gtk_pixmap_get (GtkPixmap *pixmap, GdkPixmap **val, GdkBitmap **mask); Warning
Gets the current GdkPixmap and GdkBitmap mask.
gtk_pixmap_set_build_insensitive ()void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap, gboolean build); Warning
Sets wether an extra pixmap should be automatically created and used
when the pixmap is insensitive. The default value is
| ||||||||||||||||||||||||||||||||