FoPixbuf

FoPixbuf —

Synopsis




#define     FO_PIXBUF_IFACE                 (obj)
struct      FoPixbuf;
struct      FoPixbufIface;
GdkPixbuf*  fo_pixbuf_get_pixbuf            (FoImage *fo_image);
void        fo_pixbuf_set_pixbuf            (FoImage *fo_image,
                                             GdkPixbuf *pixbuf);

Description

Details

FO_PIXBUF_IFACE()

#define FO_PIXBUF_IFACE(obj)      (G_TYPE_CHECK_CLASS_CAST ((obj), FO_TYPE_PIXBUF, FoPixbufIface))

obj :

struct FoPixbuf

struct FoPixbuf;


struct FoPixbufIface

struct FoPixbufIface {

  GTypeInterface g_iface;

  GdkPixbuf * (*get_pixbuf) (FoImage   *fo_image);
  void        (*set_pixbuf) (FoImage   *fo_image,
			     GdkPixbuf *pixbuf);
};


fo_pixbuf_get_pixbuf ()

GdkPixbuf*  fo_pixbuf_get_pixbuf            (FoImage *fo_image);

Gets the GdkPixbuf contained by fo_image.

fo_image : The FoImage containing the pixbuf.
Returns : The GdkPixbuf contained by fo_image.

fo_pixbuf_set_pixbuf ()

void        fo_pixbuf_set_pixbuf            (FoImage *fo_image,
                                             GdkPixbuf *pixbuf);

Sets the GdkPixbuf contained by fo_image.

fo_image : The FoImage containing the pixbuf.
pixbuf : GdkPixbuf to be contained by fo_image.