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>
35#include <libgnomecanvas/gnome-canvas-pixbuf.h>
36
37
38#ifndef DOXYGEN_SHOULD_SKIP_THIS
39typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
40typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
41#endif /* DOXYGEN_SHOULD_SKIP_THIS */
42
43
44namespace Gnome
45{
46
47namespace Canvas
48{ class Pixbuf_Class; } // namespace Canvas
49
50} // namespace Gnome
51namespace Gnome
52{
53
54namespace Canvas
55{
56
57
58class 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
72private:
73 friend class Pixbuf_Class;
74 static CppClassType pixbuf_class_;
75
76 // noncopyable
77 Pixbuf(const Pixbuf&);
78 Pixbuf& operator=(const Pixbuf&);
79
80protected:
81 explicit Pixbuf(const Glib::ConstructParams& construct_params);
82 explicit Pixbuf(GnomeCanvasPixbuf* castitem);
83
84#endif /* DOXYGEN_SHOULD_SKIP_THIS */
85
86public:
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
99public:
100 //C++ methods used to invoke GTK+ virtual functions:
101#ifdef GLIBMM_VFUNCS_ENABLED
102#endif //GLIBMM_VFUNCS_ENABLED
103
104protected:
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
114private:
115
116public:
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
127 Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() ;
128#endif //#GLIBMM_PROPERTIES_ENABLED
129
130#ifdef GLIBMM_PROPERTIES_ENABLED
137 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() const;
138#endif //#GLIBMM_PROPERTIES_ENABLED
139
140 #ifdef GLIBMM_PROPERTIES_ENABLED
147 Glib::PropertyProxy<double> property_width() ;
148#endif //#GLIBMM_PROPERTIES_ENABLED
149
150#ifdef GLIBMM_PROPERTIES_ENABLED
157 Glib::PropertyProxy_ReadOnly<double> property_width() const;
158#endif //#GLIBMM_PROPERTIES_ENABLED
159
160 #ifdef GLIBMM_PROPERTIES_ENABLED
167 Glib::PropertyProxy<bool> property_width_set() ;
168#endif //#GLIBMM_PROPERTIES_ENABLED
169
170#ifdef GLIBMM_PROPERTIES_ENABLED
177 Glib::PropertyProxy_ReadOnly<bool> property_width_set() const;
178#endif //#GLIBMM_PROPERTIES_ENABLED
179
180 #ifdef GLIBMM_PROPERTIES_ENABLED
187 Glib::PropertyProxy<bool> property_width_in_pixels() ;
188#endif //#GLIBMM_PROPERTIES_ENABLED
189
190#ifdef GLIBMM_PROPERTIES_ENABLED
197 Glib::PropertyProxy_ReadOnly<bool> property_width_in_pixels() const;
198#endif //#GLIBMM_PROPERTIES_ENABLED
199
200 #ifdef GLIBMM_PROPERTIES_ENABLED
207 Glib::PropertyProxy<double> property_height() ;
208#endif //#GLIBMM_PROPERTIES_ENABLED
209
210#ifdef GLIBMM_PROPERTIES_ENABLED
217 Glib::PropertyProxy_ReadOnly<double> property_height() const;
218#endif //#GLIBMM_PROPERTIES_ENABLED
219
220 #ifdef GLIBMM_PROPERTIES_ENABLED
227 Glib::PropertyProxy<bool> property_height_set() ;
228#endif //#GLIBMM_PROPERTIES_ENABLED
229
230#ifdef GLIBMM_PROPERTIES_ENABLED
237 Glib::PropertyProxy_ReadOnly<bool> property_height_set() const;
238#endif //#GLIBMM_PROPERTIES_ENABLED
239
240 #ifdef GLIBMM_PROPERTIES_ENABLED
247 Glib::PropertyProxy<bool> property_height_in_pixels() ;
248#endif //#GLIBMM_PROPERTIES_ENABLED
249
250#ifdef GLIBMM_PROPERTIES_ENABLED
257 Glib::PropertyProxy_ReadOnly<bool> property_height_in_pixels() const;
258#endif //#GLIBMM_PROPERTIES_ENABLED
259
260 #ifdef GLIBMM_PROPERTIES_ENABLED
267 Glib::PropertyProxy<double> property_x() ;
268#endif //#GLIBMM_PROPERTIES_ENABLED
269
270#ifdef GLIBMM_PROPERTIES_ENABLED
277 Glib::PropertyProxy_ReadOnly<double> property_x() const;
278#endif //#GLIBMM_PROPERTIES_ENABLED
279
280 #ifdef GLIBMM_PROPERTIES_ENABLED
287 Glib::PropertyProxy<bool> property_x_in_pixels() ;
288#endif //#GLIBMM_PROPERTIES_ENABLED
289
290#ifdef GLIBMM_PROPERTIES_ENABLED
297 Glib::PropertyProxy_ReadOnly<bool> property_x_in_pixels() const;
298#endif //#GLIBMM_PROPERTIES_ENABLED
299
300 #ifdef GLIBMM_PROPERTIES_ENABLED
307 Glib::PropertyProxy<double> property_y() ;
308#endif //#GLIBMM_PROPERTIES_ENABLED
309
310#ifdef GLIBMM_PROPERTIES_ENABLED
317 Glib::PropertyProxy_ReadOnly<double> property_y() const;
318#endif //#GLIBMM_PROPERTIES_ENABLED
319
320 #ifdef GLIBMM_PROPERTIES_ENABLED
327 Glib::PropertyProxy<bool> property_y_in_pixels() ;
328#endif //#GLIBMM_PROPERTIES_ENABLED
329
330#ifdef GLIBMM_PROPERTIES_ENABLED
337 Glib::PropertyProxy_ReadOnly<bool> property_y_in_pixels() const;
338#endif //#GLIBMM_PROPERTIES_ENABLED
339
340 #ifdef GLIBMM_PROPERTIES_ENABLED
347 Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
348#endif //#GLIBMM_PROPERTIES_ENABLED
349
350#ifdef GLIBMM_PROPERTIES_ENABLED
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
367namespace Glib
368{
377 Gnome::Canvas::Pixbuf* wrap(GnomeCanvasPixbuf* object, bool take_copy = false);
378} //namespace Glib
379
380
381#endif /* _LIBGNOMECANVASMM_PIXBUF_H */
382
Definition: group.h:60
Definition: item.h:67
Definition: pixbuf.h:59
Glib::PropertyProxy_ReadOnly< double > property_width() const
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
Pixbuf(Group &parent, double x, double y, const Glib::RefPtr< Gdk::Pixbuf > &image)
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.
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_ReadOnly< Glib::RefPtr< Gdk::Pixbuf > > property_pixbuf() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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.
Glib::PropertyProxy_ReadOnly< bool > property_width_set() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< bool > property_y_in_pixels() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Pixbuf(Group &parent)
Glib::PropertyProxy_ReadOnly< bool > property_height_set() const
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_ReadOnly< double > property_y() const
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.
Glib::PropertyProxy< bool > property_width_set()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< bool > property_width_in_pixels() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Gnome::Canvas::Pixbuf * wrap(GnomeCanvasPixbuf *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib::PropertyProxy_ReadOnly< bool > property_x_in_pixels() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< double > property_x() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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_x()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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_ReadOnly< Gtk::AnchorType > property_anchor() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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.
Glib::PropertyProxy_ReadOnly< double > property_height() const
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_ReadOnly< bool > property_height_in_pixels() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< double > property_y()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Definition: bpath.h:150
Definition: affinetrans.h:30