3 #ifndef _GDKMM_PIXBUFLOADER_H
4 #define _GDKMM_PIXBUFLOADER_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
29 #include <glibmm/object.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36 typedef struct _GdkPixbufLoader GdkPixbufLoader;
37 typedef struct _GdkPixbufLoaderClass GdkPixbufLoaderClass;
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
43 {
class PixbufLoader_Class; }
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
58 typedef GdkPixbufLoader BaseObjectType;
59 typedef GdkPixbufLoaderClass BaseClassType;
62 static CppClassType pixbufloader_class_;
70 explicit PixbufLoader(
const Glib::ConstructParams& construct_params);
82 #ifndef DOXYGEN_SHOULD_SKIP_THIS
85 static GType get_base_type() G_GNUC_CONST;
89 GdkPixbufLoader*
gobj() {
return reinterpret_cast<GdkPixbufLoader*
>(gobject_); }
92 const GdkPixbufLoader*
gobj()
const {
return reinterpret_cast<GdkPixbufLoader*
>(gobject_); }
129 explicit PixbufLoader(
const Glib::ustring& image_type,
bool mime_type =
false);
137 static Glib::RefPtr<PixbufLoader>
create();
165 static Glib::RefPtr<PixbufLoader>
create(
const Glib::ustring& image_type,
bool mime_type =
false);
180 void write(
const guint8* buf, gsize count);
300 Glib::RefPtr<Gdk::PixbufLoader>
wrap(GdkPixbufLoader*
object,
bool take_copy =
false);
virtual void on_area_updated(int x, int y, int width, int height)
This is a default handler for the signal signal_area_updated().
Glib::SignalProxy2< void, int, int > signal_size_prepared()
virtual void on_area_prepared()
This is a default handler for the signal signal_area_prepared().
void set_size(int width, int height)
Glib::SignalProxy0< void > signal_closed()
Glib::RefPtr< Gdk::Pixbuf > get_pixbuf()
Glib::SignalProxy0< void > signal_area_prepared()
PixbufFormat get_format() const
static Glib::RefPtr< PixbufLoader > create(const Glib::ustring &image_type, bool mime_type=false)
GdkPixbufLoader * gobj()
Provides access to the underlying C GObject.
const GdkPixbufLoader * gobj() const
Provides access to the underlying C GObject.
static GType get_type() G_GNUC_CONST
PixbufLoader(const Glib::ustring &image_type, bool mime_type=false)
void write(const guint8 *buf, gsize count)
Glib::RefPtr< Gdk::PixbufAnimation > get_animation()
GdkPixbufLoader * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::RefPtr< Gdk::PixbufLoader > wrap(GdkPixbufLoader *object, bool take_copy=false)
Glib::SignalProxy4< void, int, int, int, int > signal_area_updated()
virtual void on_closed()
This is a default handler for the signal signal_closed().
static Glib::RefPtr< PixbufLoader > create()