1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 a widget displaying a graphical image or icon.
7 <!-- ##### SECTION Long_Description ##### -->
9 The #GtkPixmap widget displays a graphical image or icon.
10 The icon is typically created using gdk_pixmap_colormap_create_from_xpm()
11 or gdk_pixmap_colormap_create_from_xpm_d().
14 The pixels in a #GtkPixmap cannot be manipulated by the application after
15 creation, since under the X Window system the pixel data is stored on the
16 X server and so is not available to the client application.
17 If you want to create graphical images which can be manipulated by the
18 application, look at #GtkImage and #GdkRGB.
21 <!-- ##### SECTION See_Also ##### -->
26 <!-- ##### STRUCT GtkPixmap ##### -->
28 The #GtkPixmap-struct struct contains private data only, and
29 should be accessed using the functions below.
33 <!-- ##### FUNCTION gtk_pixmap_new ##### -->
35 Creates a new #GtkPixmap, using the given GDK pixmap and mask.
38 @pixmap: a #GDKPixmap.
39 @mask: a #GDKBitmap which indicates which parts of the @pixmap should be
41 @Returns: a new #GtkPixmap.
44 <!-- ##### FUNCTION gtk_pixmap_set ##### -->
46 Sets the #GdkPixmap and #GdkBitmap mask.
49 @pixmap: a #GtkPixmap.
51 @mask: a #GdkBitmap, which indicates which parts of the @pixmap should be
52 transparent. This can be NULL, in which case none of the @pixmap is
56 <!-- ##### FUNCTION gtk_pixmap_get ##### -->
58 Gets the current #GdkPixmap and #GdkBitmap mask.
61 @pixmap: a #GtkPixmap.
62 @val: returns the current #GdkPixmap.
63 @mask: returns the current #GdkBitmap mask.
66 <!-- ##### FUNCTION gtk_pixmap_set_build_insensitive ##### -->
71 @pixmap: a #GtkPixmap.
72 @build: set to %TRUE if an extra pixmap should be automatically created to use
73 when the pixmap is insensitive.