Ardour  8.7-15-gadf511264b
pixbufanimationiter.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GDKMM_PIXBUFANIMATIONITER_H
4 #define _GDKMM_PIXBUFANIMATIONITER_H
5 
6 
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
9 
10 /* $Id: pixbufanimationiter.hg,v 1.2 2004/04/12 11:04:05 murrayc Exp $ */
11 
12 /* pixbufanimationiter.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>
33 #include <glibmm/timeval.h>
34 #include <gdk-pixbuf/gdk-pixbuf.h>
35 
36 
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GdkPixbufAnimationIter GdkPixbufAnimationIter;
39 typedef struct _GdkPixbufAnimationIterClass GdkPixbufAnimationIterClass;
40 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41 
42 
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 namespace Gdk
45 { class PixbufAnimationIter_Class; } // namespace Gdk
46 #endif //DOXYGEN_SHOULD_SKIP_THIS
47 
48 namespace Gdk
49 {
50 
51 
55 class PixbufAnimationIter : public Glib::Object
56 {
57 
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
59 
60 public:
61  typedef PixbufAnimationIter CppObjectType;
62  typedef PixbufAnimationIter_Class CppClassType;
63  typedef GdkPixbufAnimationIter BaseObjectType;
64  typedef GdkPixbufAnimationIterClass BaseClassType;
65 
66 private: friend class PixbufAnimationIter_Class;
67  static CppClassType pixbufanimationiter_class_;
68 
69 private:
70  // noncopyable
72  PixbufAnimationIter& operator=(const PixbufAnimationIter&);
73 
74 protected:
75  explicit PixbufAnimationIter(const Glib::ConstructParams& construct_params);
76  explicit PixbufAnimationIter(GdkPixbufAnimationIter* castitem);
77 
78 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
79 
80 public:
82 
85  static GType get_type() G_GNUC_CONST;
86 
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88 
89 
90  static GType get_base_type() G_GNUC_CONST;
91 #endif
92 
94  GdkPixbufAnimationIter* gobj() { return reinterpret_cast<GdkPixbufAnimationIter*>(gobject_); }
95 
97  const GdkPixbufAnimationIter* gobj() const { return reinterpret_cast<GdkPixbufAnimationIter*>(gobject_); }
98 
100  GdkPixbufAnimationIter* gobj_copy();
101 
102 private:
103 
104 protected:
105 
106  //A constructor (if any) would go here, protected.
107 
108 public:
109 
117  int get_delay_time() const;
118 
119 
131  Glib::RefPtr<Gdk::Pixbuf> get_pixbuf();
132 
144  Glib::RefPtr<const Gdk::Pixbuf> get_pixbuf() const;
145 
146 
156 
157 
181  bool advance(const Glib::TimeVal& current_time);
182 
193  bool advance();
194 
195 
196 public:
197 
198 public:
199  //C++ methods used to invoke GTK+ virtual functions:
200 
201 protected:
202  //GTK+ Virtual Functions (override these to change behaviour):
203 
204  //Default Signal Handlers::
205 
206 
207 };
208 
209 } /* namespace Gdk */
210 
211 
212 namespace Glib
213 {
222  Glib::RefPtr<Gdk::PixbufAnimationIter> wrap(GdkPixbufAnimationIter* object, bool take_copy = false);
223 }
224 
225 
226 #endif /* _GDKMM_PIXBUFANIMATIONITER_H */
227 
Glib::RefPtr< const Gdk::Pixbuf > get_pixbuf() const
Glib::RefPtr< Gdk::PixbufAnimationIter > wrap(GdkPixbufAnimationIter *object, bool take_copy=false)
const GdkPixbufAnimationIter * gobj() const
Provides access to the underlying C GObject.
bool on_currently_loading_frame() const
GdkPixbufAnimationIter * gobj()
Provides access to the underlying C GObject.
Glib::RefPtr< Gdk::Pixbuf > get_pixbuf()
static GType get_type() G_GNUC_CONST
bool advance(const Glib::TimeVal &current_time)
GdkPixbufAnimationIter * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....