Ardour  9.0-pre0-582-g084a23a80d
pixbufanimation.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GDKMM_PIXBUFANIMATION_H
4 #define _GDKMM_PIXBUFANIMATION_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: pixbufanimation.hg,v 1.1 2003/01/21 13:38:37 murrayc Exp $ */
11 
12 /* box.h
13  *
14  * Copyright (C) 1998-2002 The gtkmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Lesser General Public
18  * License as published by the Free Software Foundation; either
19  * version 2.1 of the License, or (at your option) any later version.
20  *
21  * This library is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24  * Lesser General Public License for more details.
25  *
26  * You should have received a copy of the GNU Lesser General Public
27  * License along with this library; if not, write to the Free
28  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29  */
30 
31 #include <glibmm/object.h>
32 #include <gdkmm/pixbuf.h>
34 #include <gdk-pixbuf/gdk-pixbuf.h>
35 
36 
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GdkPixbufAnimation GdkPixbufAnimation;
39 typedef struct _GdkPixbufAnimationClass GdkPixbufAnimationClass;
40 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41 
42 
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 namespace Gdk
45 { class PixbufAnimation_Class; } // namespace Gdk
46 #endif //DOXYGEN_SHOULD_SKIP_THIS
47 
48 namespace Gdk
49 {
50 
59 class PixbufAnimation : public Glib::Object
60 {
61 
62 #ifndef DOXYGEN_SHOULD_SKIP_THIS
63 
64 public:
65  typedef PixbufAnimation CppObjectType;
66  typedef PixbufAnimation_Class CppClassType;
67  typedef GdkPixbufAnimation BaseObjectType;
68  typedef GdkPixbufAnimationClass BaseClassType;
69 
70 private: friend class PixbufAnimation_Class;
71  static CppClassType pixbufanimation_class_;
72 
73 private:
74  // noncopyable
76  PixbufAnimation& operator=(const PixbufAnimation&);
77 
78 protected:
79  explicit PixbufAnimation(const Glib::ConstructParams& construct_params);
80  explicit PixbufAnimation(GdkPixbufAnimation* castitem);
81 
82 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
83 
84 public:
85  virtual ~PixbufAnimation();
86 
89  static GType get_type() G_GNUC_CONST;
90 
91 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92 
93 
94  static GType get_base_type() G_GNUC_CONST;
95 #endif
96 
98  GdkPixbufAnimation* gobj() { return reinterpret_cast<GdkPixbufAnimation*>(gobject_); }
99 
101  const GdkPixbufAnimation* gobj() const { return reinterpret_cast<GdkPixbufAnimation*>(gobject_); }
102 
104  GdkPixbufAnimation* gobj_copy();
105 
106 private:
107 
108  //gtkmmproc error: gdk_pixbuf_animation_ref : ignored method defs lookup failed//gtkmmproc error: gdk_pixbuf_animation_unref : ignored method defs lookup failed
109 protected:
110 
111 public:
112 
113  static Glib::RefPtr<PixbufAnimation> create_from_file(const Glib::ustring& filename);
114 
115 
116  int get_width() const;
117 
118  int get_height() const;
119 
120  bool is_static_image() const;
121 
122  Glib::RefPtr<Pixbuf> get_static_image();
123 
124  Glib::RefPtr<PixbufAnimationIter> get_iter(const GTimeVal* start_time);
125 
126 
127 public:
128 
129 public:
130  //C++ methods used to invoke GTK+ virtual functions:
131 
132 protected:
133  //GTK+ Virtual Functions (override these to change behaviour):
134 
135  //Default Signal Handlers::
136 
137 
138 };
139 
140 } /* namespace Gdk */
141 
142 
143 namespace Glib
144 {
153  Glib::RefPtr<Gdk::PixbufAnimation> wrap(GdkPixbufAnimation* object, bool take_copy = false);
154 }
155 
156 
157 #endif /* _GDKMM_PIXBUFANIMATION_H */
158 
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()
int get_height() const
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
int get_width() const