GimpPixmap

Name

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

Synopsis



struct      GimpPixmap;
#define     GIMP_PIXMAP                     (obj)
GtkWidget*  gimp_pixmap_new                 (gchar **xpm_data);
void        gimp_pixmap_set                 (GimpPixmap *pixmap,
                                             gchar **xpm_data);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkMisc
               +----GtkPixmap
                     +----GimpPixmap

Description

Details

struct GimpPixmap

struct GimpPixmap;


GIMP_PIXMAP()

#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.

obj :The pointer to cast.


gimp_pixmap_new ()

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.


gimp_pixmap_set ()

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

Sets a new image for an existing GimpPixmap widget.

pixmap : The pixmap widget you want to set the new xpm_data for.
xpm_data : A pointer to a XPM data structure as found in XPM files.

See Also

gimp_pixmap_button_new()