struct GimpPixmap; #define GIMP_PIXMAP (obj) GtkWidget* gimp_pixmap_new (gchar **xpm_data); void gimp_pixmap_set (GimpPixmap *pixmap, gchar **xpm_data);
Widget which creates a GtkPixmap from XPM data.
Use this widget instead of GtkPixmap if you don't want to worry about the parent container's "realized" state.
Note that the drawback of the easy interface is that the actual GdkPixmap and it's mask have to be constructed every time you call gimp_pixmap_new() and cannot be cached in memory without doing bad hacks.
#define GIMP_PIXMAP(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_PIXMAP, GimpPixmap))
Checks if the passed pointer is a pointer to a GimpPixmap and performs the cast if valid.
GtkWidget* gimp_pixmap_new (gchar **xpm_data);
Creates a new GimpPixmap widget.
|xpm_data :||A pointer to a XPM data structure as found in XPM files.|
|Returns :||A pointer to the new GimpPixmap widget.|