libgnomecanvasmm
pixbuf.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gtkmmproc -- DO NOT MODIFY!
3 #ifndef _LIBGNOMECANVASMM_PIXBUF_H
4 #define _LIBGNOMECANVASMM_PIXBUF_H
5 
6 
7 #include <glibmm.h>
8 
9 // -*- C++ -*-
10 /* $Id: pixbuf.hg,v 1.9 2002/06/02 19:47:14 daniel Exp $ */
11 
12 /* pixbuf.h
13  *
14  *
15  * Copyright (C) 2002 The libgnomecanvasmm Development Team
16  *
17  * This library is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU Lesser General Public
19  * License as published by the Free Software Foundation; either
20  * version 2.1 of the License, or (at your option) any later version.
21  *
22  * This library is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25  * Lesser General Public License for more details.
26  *
27  * You should have received a copy of the GNU Lesser General Public
28  * License along with this library; if not, write to the Free
29  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30  */
31 
32 #include <gdkmm/pixbuf.h>
33 #include <gtkmm/enums.h>
34 #include <libgnomecanvasmm/item.h>
35 #include <libgnomecanvas/gnome-canvas-pixbuf.h>
36 
37 
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
39 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
40 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
41 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
42 
43 
44 namespace Gnome
45 {
46 
47 namespace Canvas
48 { class Pixbuf_Class; } // namespace Canvas
49 
50 } // namespace Gnome
51 namespace Gnome
52 {
53 
54 namespace Canvas
55 {
56 
57 
58 class Pixbuf : public Item
59 {
60  public:
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62  typedef Pixbuf CppObjectType;
63  typedef Pixbuf_Class CppClassType;
64  typedef GnomeCanvasPixbuf BaseObjectType;
65  typedef GnomeCanvasPixbufClass BaseClassType;
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67 
68  virtual ~Pixbuf();
69 
70 #ifndef DOXYGEN_SHOULD_SKIP_THIS
71 
72 private:
73  friend class Pixbuf_Class;
74  static CppClassType pixbuf_class_;
75 
76  // noncopyable
77  Pixbuf(const Pixbuf&);
78  Pixbuf& operator=(const Pixbuf&);
79 
80 protected:
81  explicit Pixbuf(const Glib::ConstructParams& construct_params);
82  explicit Pixbuf(GnomeCanvasPixbuf* castitem);
83 
84 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
85 
86 public:
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88  static GType get_type() G_GNUC_CONST;
89  static GType get_base_type() G_GNUC_CONST;
90 #endif
91 
93  GnomeCanvasPixbuf* gobj() { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
94 
96  const GnomeCanvasPixbuf* gobj() const { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
97 
98 
99 public:
100  //C++ methods used to invoke GTK+ virtual functions:
101 #ifdef GLIBMM_VFUNCS_ENABLED
102 #endif //GLIBMM_VFUNCS_ENABLED
103 
104 protected:
105  //GTK+ Virtual Functions (override these to change behaviour):
106 #ifdef GLIBMM_VFUNCS_ENABLED
107 #endif //GLIBMM_VFUNCS_ENABLED
108 
109  //Default Signal Handlers::
110 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
111 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
112 
113 
114 private:
115 
116 public:
117  Pixbuf(Group& parent, double x, double y, const Glib::RefPtr<Gdk::Pixbuf>& image);
118  explicit Pixbuf(Group& parent);
119 
120  #ifdef GLIBMM_PROPERTIES_ENABLED
121 
127  Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() ;
128 #endif //#GLIBMM_PROPERTIES_ENABLED
129 
130 #ifdef GLIBMM_PROPERTIES_ENABLED
131 
137  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() const;
138 #endif //#GLIBMM_PROPERTIES_ENABLED
139 
140  #ifdef GLIBMM_PROPERTIES_ENABLED
141 
147  Glib::PropertyProxy<double> property_width() ;
148 #endif //#GLIBMM_PROPERTIES_ENABLED
149 
150 #ifdef GLIBMM_PROPERTIES_ENABLED
151 
157  Glib::PropertyProxy_ReadOnly<double> property_width() const;
158 #endif //#GLIBMM_PROPERTIES_ENABLED
159 
160  #ifdef GLIBMM_PROPERTIES_ENABLED
161 
167  Glib::PropertyProxy<bool> property_width_set() ;
168 #endif //#GLIBMM_PROPERTIES_ENABLED
169 
170 #ifdef GLIBMM_PROPERTIES_ENABLED
171 
177  Glib::PropertyProxy_ReadOnly<bool> property_width_set() const;
178 #endif //#GLIBMM_PROPERTIES_ENABLED
179 
180  #ifdef GLIBMM_PROPERTIES_ENABLED
181 
187  Glib::PropertyProxy<bool> property_width_in_pixels() ;
188 #endif //#GLIBMM_PROPERTIES_ENABLED
189 
190 #ifdef GLIBMM_PROPERTIES_ENABLED
191 
197  Glib::PropertyProxy_ReadOnly<bool> property_width_in_pixels() const;
198 #endif //#GLIBMM_PROPERTIES_ENABLED
199 
200  #ifdef GLIBMM_PROPERTIES_ENABLED
201 
207  Glib::PropertyProxy<double> property_height() ;
208 #endif //#GLIBMM_PROPERTIES_ENABLED
209 
210 #ifdef GLIBMM_PROPERTIES_ENABLED
211 
217  Glib::PropertyProxy_ReadOnly<double> property_height() const;
218 #endif //#GLIBMM_PROPERTIES_ENABLED
219 
220  #ifdef GLIBMM_PROPERTIES_ENABLED
221 
227  Glib::PropertyProxy<bool> property_height_set() ;
228 #endif //#GLIBMM_PROPERTIES_ENABLED
229 
230 #ifdef GLIBMM_PROPERTIES_ENABLED
231 
237  Glib::PropertyProxy_ReadOnly<bool> property_height_set() const;
238 #endif //#GLIBMM_PROPERTIES_ENABLED
239 
240  #ifdef GLIBMM_PROPERTIES_ENABLED
241 
247  Glib::PropertyProxy<bool> property_height_in_pixels() ;
248 #endif //#GLIBMM_PROPERTIES_ENABLED
249 
250 #ifdef GLIBMM_PROPERTIES_ENABLED
251 
257  Glib::PropertyProxy_ReadOnly<bool> property_height_in_pixels() const;
258 #endif //#GLIBMM_PROPERTIES_ENABLED
259 
260  #ifdef GLIBMM_PROPERTIES_ENABLED
261 
267  Glib::PropertyProxy<double> property_x() ;
268 #endif //#GLIBMM_PROPERTIES_ENABLED
269 
270 #ifdef GLIBMM_PROPERTIES_ENABLED
271 
277  Glib::PropertyProxy_ReadOnly<double> property_x() const;
278 #endif //#GLIBMM_PROPERTIES_ENABLED
279 
280  #ifdef GLIBMM_PROPERTIES_ENABLED
281 
287  Glib::PropertyProxy<bool> property_x_in_pixels() ;
288 #endif //#GLIBMM_PROPERTIES_ENABLED
289 
290 #ifdef GLIBMM_PROPERTIES_ENABLED
291 
297  Glib::PropertyProxy_ReadOnly<bool> property_x_in_pixels() const;
298 #endif //#GLIBMM_PROPERTIES_ENABLED
299 
300  #ifdef GLIBMM_PROPERTIES_ENABLED
301 
307  Glib::PropertyProxy<double> property_y() ;
308 #endif //#GLIBMM_PROPERTIES_ENABLED
309 
310 #ifdef GLIBMM_PROPERTIES_ENABLED
311 
317  Glib::PropertyProxy_ReadOnly<double> property_y() const;
318 #endif //#GLIBMM_PROPERTIES_ENABLED
319 
320  #ifdef GLIBMM_PROPERTIES_ENABLED
321 
327  Glib::PropertyProxy<bool> property_y_in_pixels() ;
328 #endif //#GLIBMM_PROPERTIES_ENABLED
329 
330 #ifdef GLIBMM_PROPERTIES_ENABLED
331 
337  Glib::PropertyProxy_ReadOnly<bool> property_y_in_pixels() const;
338 #endif //#GLIBMM_PROPERTIES_ENABLED
339 
340  #ifdef GLIBMM_PROPERTIES_ENABLED
341 
347  Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
348 #endif //#GLIBMM_PROPERTIES_ENABLED
349 
350 #ifdef GLIBMM_PROPERTIES_ENABLED
351 
357  Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
358 #endif //#GLIBMM_PROPERTIES_ENABLED
359 
360 
361 };
362 
363 } /* namespace Canvas */
364 } /* namespace Gnome */
365 
366 
367 namespace Glib
368 {
377  Gnome::Canvas::Pixbuf* wrap(GnomeCanvasPixbuf* object, bool take_copy = false);
378 } //namespace Glib
379 
380 
381 #endif /* _LIBGNOMECANVASMM_PIXBUF_H */
382 
Glib::PropertyProxy< bool > property_height_set()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< bool > property_width_set()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: bpath.h:149
Definition: affinetrans.h:29
Glib::PropertyProxy< Glib::RefPtr< Gdk::Pixbuf > > property_pixbuf()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Pixbuf(Group &parent, double x, double y, const Glib::RefPtr< Gdk::Pixbuf > &image)
Glib::PropertyProxy< double > property_height()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< double > property_width()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
GnomeCanvasPixbuf * gobj()
Provides access to the underlying C GtkObject.
Definition: pixbuf.h:93
Glib::PropertyProxy< bool > property_y_in_pixels()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: item.h:66
Glib::PropertyProxy< double > property_x()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: group.h:59
Glib::PropertyProxy< bool > property_x_in_pixels()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< Gtk::AnchorType > property_anchor()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Glib::PropertyProxy< bool > property_width_in_pixels()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
const GnomeCanvasPixbuf * gobj() const
Provides access to the underlying C GtkObject.
Definition: pixbuf.h:96
Glib::PropertyProxy< double > property_y()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
Definition: pixbuf.h:58
Glib::PropertyProxy< bool > property_height_in_pixels()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...