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 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*-
00010 /* $Id: pixbuf.hg,v 1.9 2002/06/02 19:47:14 daniel Exp $ */
00011 
00012 /* pixbuf.h
00013  *
00014  *
00015  * Copyright (C) 2002 The libgnomecanvasmm Development Team
00016  *
00017  * This library is free software; you can redistribute it and/or
00018  * modify it under the terms of the GNU Library General Public
00019  * License as published by the Free Software Foundation; either
00020  * version 2 of the License, or (at your option) any later version.
00021  *
00022  * This library is distributed in the hope that it will be useful,
00023  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00024  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00025  * Library General Public License for more details.
00026  *
00027  * You should have received a copy of the GNU Library General Public
00028  * License along with this library; if not, write to the Free
00029  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00030  */
00031 
00032 #include <gdkmm/pixbuf.h>
00033 #include <gtkmm/enums.h>
00034 #include <libgnomecanvasmm/item.h>
00035 #include <libgnomecanvas/gnome-canvas-pixbuf.h>
00036 
00037 
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
00040 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
00041 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00042 
00043 
00044 namespace Gnome
00045 {
00046 
00047 namespace Canvas
00048 { class Pixbuf_Class; } // namespace Canvas
00049 
00050 } // namespace Gnome
00051 namespace Gnome
00052 {
00053 
00054 namespace Canvas
00055 {
00056 
00057 
00058 class Pixbuf : public Item
00059 {
00060   public:
00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00062   typedef Pixbuf CppObjectType;
00063   typedef Pixbuf_Class CppClassType;
00064   typedef GnomeCanvasPixbuf BaseObjectType;
00065   typedef GnomeCanvasPixbufClass BaseClassType;
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068   virtual ~Pixbuf();
00069 
00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00071 
00072 private:
00073   friend class Pixbuf_Class;
00074   static CppClassType pixbuf_class_;
00075 
00076   // noncopyable
00077   Pixbuf(const Pixbuf&);
00078   Pixbuf& operator=(const Pixbuf&);
00079 
00080 protected:
00081   explicit Pixbuf(const Glib::ConstructParams& construct_params);
00082   explicit Pixbuf(GnomeCanvasPixbuf* castitem);
00083 
00084 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00085 
00086 public:
00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00088   static GType get_type()      G_GNUC_CONST;
00089   static GType get_base_type() G_GNUC_CONST;
00090 #endif
00091 
00093   GnomeCanvasPixbuf*       gobj()       { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
00094 
00096   const GnomeCanvasPixbuf* gobj() const { return reinterpret_cast<GnomeCanvasPixbuf*>(gobject_); }
00097 
00098 
00099 public:
00100   //C++ methods used to invoke GTK+ virtual functions:
00101 
00102 protected:
00103   //GTK+ Virtual Functions (override these to change behaviour):
00104 
00105   //Default Signal Handlers::
00106 
00107 
00108 private:
00109 
00110 public:
00111   Pixbuf(Group& parent, double x, double y, const Glib::RefPtr<Gdk::Pixbuf>& image);
00112   explicit Pixbuf(Group& parent);
00113 
00120   Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() ;
00121 
00128   Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf() const;
00129 
00136   Glib::PropertyProxy<double> property_width() ;
00137 
00144   Glib::PropertyProxy_ReadOnly<double> property_width() const;
00145 
00152   Glib::PropertyProxy<bool> property_width_set() ;
00153 
00160   Glib::PropertyProxy_ReadOnly<bool> property_width_set() const;
00161 
00168   Glib::PropertyProxy<bool> property_width_in_pixels() ;
00169 
00176   Glib::PropertyProxy_ReadOnly<bool> property_width_in_pixels() const;
00177 
00184   Glib::PropertyProxy<double> property_height() ;
00185 
00192   Glib::PropertyProxy_ReadOnly<double> property_height() const;
00193 
00200   Glib::PropertyProxy<bool> property_height_set() ;
00201 
00208   Glib::PropertyProxy_ReadOnly<bool> property_height_set() const;
00209 
00216   Glib::PropertyProxy<bool> property_height_in_pixels() ;
00217 
00224   Glib::PropertyProxy_ReadOnly<bool> property_height_in_pixels() const;
00225 
00232   Glib::PropertyProxy<double> property_x() ;
00233 
00240   Glib::PropertyProxy_ReadOnly<double> property_x() const;
00241 
00248   Glib::PropertyProxy<bool> property_x_in_pixels() ;
00249 
00256   Glib::PropertyProxy_ReadOnly<bool> property_x_in_pixels() const;
00257 
00264   Glib::PropertyProxy<double> property_y() ;
00265 
00272   Glib::PropertyProxy_ReadOnly<double> property_y() const;
00273 
00280   Glib::PropertyProxy<bool> property_y_in_pixels() ;
00281 
00288   Glib::PropertyProxy_ReadOnly<bool> property_y_in_pixels() const;
00289 
00296   Glib::PropertyProxy<Gtk::AnchorType> property_anchor() ;
00297 
00304   Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> property_anchor() const;
00305 
00306 
00307 };
00308 
00309 } /* namespace Canvas */
00310 } /* namespace Gnome */
00311 
00312 
00313 namespace Glib
00314 {
00320   Gnome::Canvas::Pixbuf* wrap(GnomeCanvasPixbuf* object, bool take_copy = false);
00321 } //namespace Glib
00322 
00323 
00324 #endif /* _LIBGNOMECANVASMM_PIXBUF_H */
00325 

Generated on Tue Jun 13 03:06:34 2006 for libgnomecanvasmm by  doxygen 1.4.6