rollback to 3428, before the mysterious removal of libs/* at 3431/3432
[ardour.git] / libs / libgnomecanvasmm / libgnomecanvasmm / pixbuf.h
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_PIXBUF_H
4 #define _LIBGNOMECANVASMM_PIXBUF_H
5
6 #include <glibmm.h>
7
8 // -*- C++ -*-
9 /* $Id$ */
10
11 /* pixbuf.h
12  *
13  *
14  * Copyright (C) 2002 The libgnomecanvasmm Development Team
15  *
16  * This library is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU Library General Public
18  * License as published by the Free Software Foundation; either
19  * version 2 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  * Library General Public License for more details.
25  *
26  * You should have received a copy of the GNU Library 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 <gdkmm/pixbuf.h>
32 #include <gtkmm/enums.h>
33 #include <libgnomecanvasmm/item.h>
34 #include <libgnomecanvas/gnome-canvas-pixbuf.h>
35
36
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
39 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
40 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
41
42
43 namespace Gnome
44 {
45
46 namespace Canvas
47 { class Pixbuf_Class; } // namespace Canvas
48
49 } // namespace Gnome
50 namespace Gnome
51 {
52
53 namespace Canvas
54 {
55
56
57 class Pixbuf : public Item
58 {
59   public:
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61   typedef Pixbuf CppObjectType;
62   typedef Pixbuf_Class CppClassType;
63   typedef GnomeCanvasPixbuf BaseObjectType;
64   typedef GnomeCanvasPixbufClass BaseClassType;
65 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
66
67   virtual ~Pixbuf();
68
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
70
71 private:
72   friend class Pixbuf_Class;
73   static CppClassType pixbuf_class_;
74
75   // noncopyable
76   Pixbuf(const Pixbuf&);
77   Pixbuf& operator=(const Pixbuf&);
78
79 protected:
80   explicit Pixbuf(const Glib::ConstructParams& construct_params);
81   explicit Pixbuf(GnomeCanvasPixbuf* castitem);
82
83 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
84
85 public:
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87   static GType get_type()      G_GNUC_CONST;
88   static GType get_base_type() G_GNUC_CONST;
89 #endif
90
91   ///Provides access to the underlying C GtkObject.
92   GnomeCanvasPixbuf*       gobj()       { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
93
94   ///Provides access to the underlying C GtkObject.
95   const GnomeCanvasPixbuf* gobj() const { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
96
97
98 public:
99   //C++ methods used to invoke GTK+ virtual functions:
100
101 protected:
102   //GTK+ Virtual Functions (override these to change behaviour):
103
104   //Default Signal Handlers::
105
106
107 private:
108
109 public:
110   Pixbuf(Group& parent, double x, double y, const Glib::RefPtr<Gdk::Pixbuf>& image);
111   explicit Pixbuf(Group& parent);
112
113   /** 
114    *
115    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
116    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
117    * the value of the property changes.
118    */
119   Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() ;
120
121 /** 
122    *
123    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
124    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
125    * the value of the property changes.
126    */
127   Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() const;
128
129   /** 
130    *
131    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
132    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
133    * the value of the property changes.
134    */
135   Glib::PropertyProxy<double> property_width() ;
136
137 /** 
138    *
139    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
140    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
141    * the value of the property changes.
142    */
143   Glib::PropertyProxy_ReadOnly<double> property_width() const;
144
145   /** 
146    *
147    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
148    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
149    * the value of the property changes.
150    */
151   Glib::PropertyProxy<bool> property_width_set() ;
152
153 /** 
154    *
155    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
156    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
157    * the value of the property changes.
158    */
159   Glib::PropertyProxy_ReadOnly<bool> property_width_set() const;
160
161   /** 
162    *
163    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
164    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
165    * the value of the property changes.
166    */
167   Glib::PropertyProxy<bool> property_width_in_pixels() ;
168
169 /** 
170    *
171    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
172    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
173    * the value of the property changes.
174    */
175   Glib::PropertyProxy_ReadOnly<bool> property_width_in_pixels() const;
176
177   /** 
178    *
179    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
180    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
181    * the value of the property changes.
182    */
183   Glib::PropertyProxy<double> property_height() ;
184
185 /** 
186    *
187    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
188    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
189    * the value of the property changes.
190    */
191   Glib::PropertyProxy_ReadOnly<double> property_height() const;
192
193   /** 
194    *
195    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
196    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
197    * the value of the property changes.
198    */
199   Glib::PropertyProxy<bool> property_height_set() ;
200
201 /** 
202    *
203    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
204    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
205    * the value of the property changes.
206    */
207   Glib::PropertyProxy_ReadOnly<bool> property_height_set() const;
208
209   /** 
210    *
211    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
212    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
213    * the value of the property changes.
214    */
215   Glib::PropertyProxy<bool> property_height_in_pixels() ;
216
217 /** 
218    *
219    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
220    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
221    * the value of the property changes.
222    */
223   Glib::PropertyProxy_ReadOnly<bool> property_height_in_pixels() const;
224
225   /** 
226    *
227    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
228    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
229    * the value of the property changes.
230    */
231   Glib::PropertyProxy<double> property_x() ;
232
233 /** 
234    *
235    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
236    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
237    * the value of the property changes.
238    */
239   Glib::PropertyProxy_ReadOnly<double> property_x() const;
240
241   /** 
242    *
243    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
244    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
245    * the value of the property changes.
246    */
247   Glib::PropertyProxy<bool> property_x_in_pixels() ;
248
249 /** 
250    *
251    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
252    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
253    * the value of the property changes.
254    */
255   Glib::PropertyProxy_ReadOnly<bool> property_x_in_pixels() const;
256
257   /** 
258    *
259    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
260    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
261    * the value of the property changes.
262    */
263   Glib::PropertyProxy<double> property_y() ;
264
265 /** 
266    *
267    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
268    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
269    * the value of the property changes.
270    */
271   Glib::PropertyProxy_ReadOnly<double> property_y() const;
272
273   /** 
274    *
275    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
276    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
277    * the value of the property changes.
278    */
279   Glib::PropertyProxy<bool> property_y_in_pixels() ;
280
281 /** 
282    *
283    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
284    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
285    * the value of the property changes.
286    */
287   Glib::PropertyProxy_ReadOnly<bool> property_y_in_pixels() const;
288
289   /** 
290    *
291    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
292    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
293    * the value of the property changes.
294    */
295   Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
296
297 /** 
298    *
299    * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
300    * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
301    * the value of the property changes.
302    */
303   Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
304
305
306 };
307
308 } /* namespace Canvas */
309 } /* namespace Gnome */
310
311 namespace Glib
312 {
313   /** @relates Gnome::Canvas::Pixbuf
314    * @param object The C instance
315    * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
316    * @result A C++ instance that wraps this C instance.
317    */
318   Gnome::Canvas::Pixbuf* wrap(GnomeCanvasPixbuf* object, bool take_copy = false);
319 }
320 #endif /* _LIBGNOMECANVASMM_PIXBUF_H */
321