Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

pixbuf.h

Go to the documentation of this file.
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_PIXBUF_H 00004 #define _LIBGNOMECANVASMM_PIXBUF_H 00005 00006 #include <glibmm.h> 00007 00008 // -*- C++ -*- 00009 /* $Id: pixbuf.hg,v 1.9 2002/06/02 19:47:14 daniel Exp $ */ 00010 00011 /* pixbuf.h 00012 * 00013 * 00014 * Copyright (C) 2002 The libgnomecanvasmm Development Team 00015 * 00016 * This library is free software; you can redistribute it and/or 00017 * modify it under the terms of the GNU Library General Public 00018 * License as published by the Free Software Foundation; either 00019 * version 2 of the License, or (at your option) any later version. 00020 * 00021 * This library is distributed in the hope that it will be useful, 00022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 * Library General Public License for more details. 00025 * 00026 * You should have received a copy of the GNU Library General Public 00027 * License along with this library; if not, write to the Free 00028 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00029 */ 00030 00031 #include <gdkmm/pixbuf.h> 00032 #include <gtkmm/enums.h> 00033 #include <libgnomecanvasmm/item.h> 00034 #include <libgnomecanvas/gnome-canvas-pixbuf.h> 00035 00036 00037 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00038 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf; 00039 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass; 00040 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00041 00042 00043 namespace Gnome 00044 { 00045 00046 namespace Canvas 00047 { class Pixbuf_Class; } // namespace Canvas 00048 00049 } // namespace Gnome 00050 namespace Gnome 00051 { 00052 00053 namespace Canvas 00054 { 00055 00056 00057 class Pixbuf : public Item 00058 { 00059 public: 00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00061 typedef Pixbuf CppObjectType; 00062 typedef Pixbuf_Class CppClassType; 00063 typedef GnomeCanvasPixbuf BaseObjectType; 00064 typedef GnomeCanvasPixbufClass BaseClassType; 00065 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00066 00067 virtual ~Pixbuf(); 00068 00069 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00070 00071 private: 00072 friend class Pixbuf_Class; 00073 static CppClassType pixbuf_class_; 00074 00075 // noncopyable 00076 Pixbuf(const Pixbuf&); 00077 Pixbuf& operator=(const Pixbuf&); 00078 00079 protected: 00080 explicit Pixbuf(const Glib::ConstructParams& construct_params); 00081 explicit Pixbuf(GnomeCanvasPixbuf* castitem); 00082 00083 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00084 00085 public: 00086 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00087 static GType get_type() G_GNUC_CONST; 00088 static GType get_base_type() G_GNUC_CONST; 00089 #endif 00090 00092 GnomeCanvasPixbuf* gobj() { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); } 00093 00095 const GnomeCanvasPixbuf* gobj() const { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); } 00096 00097 00098 public: 00099 //C++ methods used to invoke GTK+ virtual functions: 00100 00101 protected: 00102 //GTK+ Virtual Functions (override these to change behaviour): 00103 00104 //Default Signal Handlers:: 00105 00106 00107 private: 00108 00109 public: 00110 Pixbuf(Group& parent, double x, double y, const Glib::RefPtr<Gdk::Pixbuf>& image); 00111 explicit Pixbuf(Group& parent); 00112 00117 Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() ; 00118 00123 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() const; 00124 00129 Glib::PropertyProxy<double> property_width() ; 00130 00135 Glib::PropertyProxy_ReadOnly<double> property_width() const; 00136 00141 Glib::PropertyProxy<bool> property_width_set() ; 00142 00147 Glib::PropertyProxy_ReadOnly<bool> property_width_set() const; 00148 00153 Glib::PropertyProxy<bool> property_width_in_pixels() ; 00154 00159 Glib::PropertyProxy_ReadOnly<bool> property_width_in_pixels() const; 00160 00165 Glib::PropertyProxy<double> property_height() ; 00166 00171 Glib::PropertyProxy_ReadOnly<double> property_height() const; 00172 00177 Glib::PropertyProxy<bool> property_height_set() ; 00178 00183 Glib::PropertyProxy_ReadOnly<bool> property_height_set() const; 00184 00189 Glib::PropertyProxy<bool> property_height_in_pixels() ; 00190 00195 Glib::PropertyProxy_ReadOnly<bool> property_height_in_pixels() const; 00196 00201 Glib::PropertyProxy<double> property_x() ; 00202 00207 Glib::PropertyProxy_ReadOnly<double> property_x() const; 00208 00213 Glib::PropertyProxy<bool> property_x_in_pixels() ; 00214 00219 Glib::PropertyProxy_ReadOnly<bool> property_x_in_pixels() const; 00220 00225 Glib::PropertyProxy<double> property_y() ; 00226 00231 Glib::PropertyProxy_ReadOnly<double> property_y() const; 00232 00237 Glib::PropertyProxy<bool> property_y_in_pixels() ; 00238 00243 Glib::PropertyProxy_ReadOnly<bool> property_y_in_pixels() const; 00244 00249 Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ; 00250 00255 Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const; 00256 00257 00258 }; 00259 00260 } /* namespace Canvas */ 00261 } /* namespace Gnome */ 00262 00263 namespace Glib 00264 { 00270 Gnome::Canvas::Pixbuf* wrap(GnomeCanvasPixbuf* object, bool take_copy = false); 00271 } 00272 #endif /* _LIBGNOMECANVASMM_PIXBUF_H */ 00273

Generated on Thu Jun 17 22:24:48 2004 for libgnomecanvasmm by doxygen 1.3.7