3 #ifndef _GDKMM_PIXBUFANIMATION_H
4 #define _GDKMM_PIXBUFANIMATION_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
31 #include <glibmm/object.h>
34 #include <gdk-pixbuf/gdk-pixbuf.h>
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GdkPixbufAnimation GdkPixbufAnimation;
39 typedef struct _GdkPixbufAnimationClass GdkPixbufAnimationClass;
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
45 {
class PixbufAnimation_Class; }
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
67 typedef GdkPixbufAnimation BaseObjectType;
68 typedef GdkPixbufAnimationClass BaseClassType;
71 static CppClassType pixbufanimation_class_;
79 explicit PixbufAnimation(
const Glib::ConstructParams& construct_params);
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94 static GType get_base_type() G_GNUC_CONST;
98 GdkPixbufAnimation*
gobj() {
return reinterpret_cast<GdkPixbufAnimation*
>(gobject_); }
101 const GdkPixbufAnimation*
gobj()
const {
return reinterpret_cast<GdkPixbufAnimation*
>(gobject_); }
124 Glib::RefPtr<PixbufAnimationIter>
get_iter(
const GTimeVal* start_time);
153 Glib::RefPtr<Gdk::PixbufAnimation>
wrap(GdkPixbufAnimation*
object,
bool take_copy =
false);
static Glib::RefPtr< PixbufAnimation > create_from_file(const Glib::ustring &filename)
virtual ~PixbufAnimation()
Glib::RefPtr< Gdk::PixbufAnimation > wrap(GdkPixbufAnimation *object, bool take_copy=false)
GdkPixbufAnimation * gobj()
Provides access to the underlying C GObject.
static GType get_type() G_GNUC_CONST
GdkPixbufAnimation * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
Glib::RefPtr< Pixbuf > get_static_image()
Glib::RefPtr< PixbufAnimationIter > get_iter(const GTimeVal *start_time)
const GdkPixbufAnimation * gobj() const
Provides access to the underlying C GObject.
bool is_static_image() const