GimpPixmap

Name

GimpPixmap -- Widget which creates a GtkPixmap from XPM data.

Synopsis



struct      GimpPixmap;
GtkWidget*  gimp_pixmap_new                 (gchar **xpm_data);
void        gimp_pixmap_set                 (GimpPixmap *pixmap,
                                             gchar **xpm_data);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkMisc
                     +----GtkImage
                           +----GimpPixmap

Description

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.

Details

struct GimpPixmap

struct GimpPixmap;


gimp_pixmap_new ()

GtkWidget*  gimp_pixmap_new                 (gchar **xpm_data);

Creates a new GimpPixmap widget.


gimp_pixmap_set ()

void        gimp_pixmap_set                 (GimpPixmap *pixmap,
                                             gchar **xpm_data);

Sets a new image for an existing GimpPixmap widget.

See Also

gimp_pixmap_button_new()

GtkPixmap