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 
00118 Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > property_pixbuf();
00119 
00125 Glib::PropertyProxy<double> property_width();
00126 
00132 Glib::PropertyProxy<bool> property_width_set();
00133 
00139 Glib::PropertyProxy<bool> property_width_in_pixels();
00140 
00146 Glib::PropertyProxy<double> property_height();
00147 
00153 Glib::PropertyProxy<bool> property_height_set();
00154 
00160 Glib::PropertyProxy<bool> property_height_in_pixels();
00161 
00167 Glib::PropertyProxy<double> property_x();
00168 
00174 Glib::PropertyProxy<bool> property_x_in_pixels();
00175 
00181 Glib::PropertyProxy<double> property_y();
00182 
00188 Glib::PropertyProxy<bool> property_y_in_pixels();
00189 
00195 Glib::PropertyProxy<Gtk::AnchorType> property_anchor();
00196 
00197 
00198 };
00199 
00200 } /* namespace Canvas */
00201 } /* namespace Gnome */
00202 
00203 namespace Glib
00204 {
00206   Gnome::Canvas::Pixbuf* wrap(GnomeCanvasPixbuf* object, bool take_copy = false);
00207 }
00208 #endif /* _LIBGNOMECANVASMM_PIXBUF_H */
00209 

Generated on Fri Nov 12 14:55:52 2004 for libgnomecanvasmm by doxygen 1.3.5