GnomePixmap

Name

GnomePixmap — one line description goes here.

Synopsis


#include <gnome.h>


struct      GnomePixmap
GtkWidget*  gnome_pixmap_new_from_file      (const char *filename);
GtkWidget*  gnome_pixmap_new_from_file_at_size
                                            (const char *filename,
                                             int width,
                                             int height);
GtkWidget*  gnome_pixmap_new_from_xpm_d     (char **xpm_data);
GtkWidget*  gnome_pixmap_new_from_xpm_d_at_size
                                            (char **xpm_data,
                                             int width,
                                             int height);
GtkWidget*  gnome_pixmap_new_from_rgb_d     (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height);
GtkWidget*  gnome_pixmap_new_from_rgb_d_shaped
                                            (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             GdkImlibColor *shape_color);
GtkWidget*  gnome_pixmap_new_from_rgb_d_shaped_at_size
                                            (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height,
                                             GdkImlibColor *shape_color);
GtkWidget*  gnome_pixmap_new_from_rgb_d_at_size
                                            (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height);
GtkWidget*  gnome_pixmap_new_from_gnome_pixmap
                                            (GnomePixmap *gpixmap);
GtkWidget*  gnome_pixmap_new_from_imlib     (GdkImlibImage *im);
GtkWidget*  gnome_pixmap_new_from_imlib_at_size
                                            (GdkImlibImage *im,
                                             int width,
                                             int height);
void        gnome_pixmap_load_file          (GnomePixmap *gpixmap,
                                             const char *filename);
void        gnome_pixmap_load_file_at_size  (GnomePixmap *gpixmap,
                                             const char *filename,
                                             int width,
                                             int height);
void        gnome_pixmap_load_xpm_d         (GnomePixmap *gpixmap,
                                             char **xpm_data);
void        gnome_pixmap_load_xpm_d_at_size (GnomePixmap *gpixmap,
                                             char **xpm_data,
                                             int width,
                                             int height);
void        gnome_pixmap_load_rgb_d         (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height);
void        gnome_pixmap_load_rgb_d_shaped  (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             GdkImlibColor *shape_color);
void        gnome_pixmap_load_rgb_d_shaped_at_size
                                            (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height,
                                             GdkImlibColor *shape_color);
void        gnome_pixmap_load_rgb_d_at_size (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height);
void        gnome_pixmap_load_imlib         (GnomePixmap *gpixmap,
                                             GdkImlibImage *im);
void        gnome_pixmap_load_imlib_at_size (GnomePixmap *gpixmap,
                                             GdkImlibImage *im,
                                             int width,
                                             int height);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GnomePixmap

Description

Details


GnomePixmap

struct GnomePixmap;


gnome_pixmap_new_from_file()

GtkWidget*  gnome_pixmap_new_from_file      (const char *filename);

filename : The name of a file containing a graphics imageReturns :a widget that contains the image, or NULL if it fails to load the image.


gnome_pixmap_new_from_file_at_size()

GtkWidget*  gnome_pixmap_new_from_file_at_size
                                            (const char *filename,
                                             int width,
                                             int height);

filename : The name of a file containing a graphics imagewidth : desired widhtheight : desired height.Returns :a widget that contains the image scaled to widht and height pixels, or NULL if it fails to load the image.


gnome_pixmap_new_from_xpm_d()

GtkWidget*  gnome_pixmap_new_from_xpm_d     (char **xpm_data);

xpm_data : A pointer to an inlined xpm image.Returns :a widget that contains the image, or NULL if it fails to create the image


gnome_pixmap_new_from_xpm_d_at_size()

GtkWidget*  gnome_pixmap_new_from_xpm_d_at_size
                                            (char **xpm_data,
                                             int width,
                                             int height);

xpm_data : A pointer to an inlined xpm image.width : desired widhtheight : desired height.Returns :a widget that contains the image scaled to widht and height pixels, or NULL if it fails to load the image.


gnome_pixmap_new_from_rgb_d()

GtkWidget*  gnome_pixmap_new_from_rgb_d     (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height);

data : A pointer to an inlined rgb image.alpha : rgb_width : rgb_height : Returns :a widget that contains the image, or NULL if it fails to create the image


gnome_pixmap_new_from_rgb_d_shaped()

GtkWidget*  gnome_pixmap_new_from_rgb_d_shaped
                                            (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             GdkImlibColor *shape_color);

data : A pointer to an inlined rgb imagealpha : pointer to the alpha channel.rgb_width : width of the rgb datargb_height : height of the rgb data.shape_color : which color encodes the transparencyReturns :a widget that contains the image scaled to widht and height pixels, or NULL if it fails to load the image.


gnome_pixmap_new_from_rgb_d_shaped_at_size()

GtkWidget*  gnome_pixmap_new_from_rgb_d_shaped_at_size
                                            (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height,
                                             GdkImlibColor *shape_color);

data : alpha : rgb_width : rgb_height : width : height : shape_color : Returns


gnome_pixmap_new_from_rgb_d_at_size()

GtkWidget*  gnome_pixmap_new_from_rgb_d_at_size
                                            (unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height);

data : A pointer to an inlined rgb image.alpha : rgb_width : the width of the rgb image.rgb_height : the height of the rgb image.width : desired widht.height : desired height.Returns :a widget that contains the image scaled to widht and height pixels, or NULL if it fails to load the image.


gnome_pixmap_new_from_gnome_pixmap()

GtkWidget*  gnome_pixmap_new_from_gnome_pixmap
                                            (GnomePixmap *gpixmap);

gpixmap : Returns


gnome_pixmap_new_from_imlib()

GtkWidget*  gnome_pixmap_new_from_imlib     (GdkImlibImage *im);

im : Returns


gnome_pixmap_new_from_imlib_at_size()

GtkWidget*  gnome_pixmap_new_from_imlib_at_size
                                            (GdkImlibImage *im,
                                             int width,
                                             int height);

im : width : height : Returns


gnome_pixmap_load_file()

void        gnome_pixmap_load_file          (GnomePixmap *gpixmap,
                                             const char *filename);

gpixmap : filename : 


gnome_pixmap_load_file_at_size()

void        gnome_pixmap_load_file_at_size  (GnomePixmap *gpixmap,
                                             const char *filename,
                                             int width,
                                             int height);

gpixmap : filename : width : height : 


gnome_pixmap_load_xpm_d()

void        gnome_pixmap_load_xpm_d         (GnomePixmap *gpixmap,
                                             char **xpm_data);

gpixmap : xpm_data : 


gnome_pixmap_load_xpm_d_at_size()

void        gnome_pixmap_load_xpm_d_at_size (GnomePixmap *gpixmap,
                                             char **xpm_data,
                                             int width,
                                             int height);

gpixmap : xpm_data : width : height : 


gnome_pixmap_load_rgb_d()

void        gnome_pixmap_load_rgb_d         (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height);

gpixmap : data : alpha : rgb_width : rgb_height : 


gnome_pixmap_load_rgb_d_shaped()

void        gnome_pixmap_load_rgb_d_shaped  (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             GdkImlibColor *shape_color);

gpixmap : data : alpha : rgb_width : rgb_height : shape_color : 


gnome_pixmap_load_rgb_d_shaped_at_size()

void        gnome_pixmap_load_rgb_d_shaped_at_size
                                            (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height,
                                             GdkImlibColor *shape_color);

gpixmap : data : alpha : rgb_width : rgb_height : width : height : shape_color : 


gnome_pixmap_load_rgb_d_at_size()

void        gnome_pixmap_load_rgb_d_at_size (GnomePixmap *gpixmap,
                                             unsigned char *data,
                                             unsigned char *alpha,
                                             int rgb_width,
                                             int rgb_height,
                                             int width,
                                             int height);

gpixmap : data : alpha : rgb_width : rgb_height : width : height : 


gnome_pixmap_load_imlib()

void        gnome_pixmap_load_imlib         (GnomePixmap *gpixmap,
                                             GdkImlibImage *im);

gpixmap : im : 


gnome_pixmap_load_imlib_at_size()

void        gnome_pixmap_load_imlib_at_size (GnomePixmap *gpixmap,
                                             GdkImlibImage *im,
                                             int width,
                                             int height);

gpixmap : im : width : height :