tablemodel.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_TABLEMODEL_H
00004 #define _GOOCANVASMM_TABLEMODEL_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 1998-2006 The gtkmm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Lesser General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2.1 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Lesser General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Lesser General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024  */
00025 
00026 
00027 #include <goocanvasmm/groupmodel.h>
00028 #include <gtkmm/enums.h>
00029 
00030 
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GooCanvasTableModel GooCanvasTableModel;
00033 typedef struct _GooCanvasTableModelClass GooCanvasTableModelClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Goocanvas
00038 { class TableModel_Class; } // namespace Goocanvas
00039 namespace Goocanvas
00040 {
00041 
00042 
00043 class TableModel : public Goocanvas::GroupModel
00044 {
00045   
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047 
00048 public:
00049   typedef TableModel CppObjectType;
00050   typedef TableModel_Class CppClassType;
00051   typedef GooCanvasTableModel BaseObjectType;
00052   typedef GooCanvasTableModelClass BaseClassType;
00053 
00054 private:  friend class TableModel_Class;
00055   static CppClassType tablemodel_class_;
00056 
00057 private:
00058   // noncopyable
00059   TableModel(const TableModel&);
00060   TableModel& operator=(const TableModel&);
00061 
00062 protected:
00063   explicit TableModel(const Glib::ConstructParams& construct_params);
00064   explicit TableModel(GooCanvasTableModel* castitem);
00065 
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068 public:
00069   virtual ~TableModel();
00070 
00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00072   static GType get_type()      G_GNUC_CONST;
00073   static GType get_base_type() G_GNUC_CONST;
00074 #endif
00075 
00077   GooCanvasTableModel*       gobj()       { return reinterpret_cast<GooCanvasTableModel*>(gobject_); }
00078 
00080   const GooCanvasTableModel* gobj() const { return reinterpret_cast<GooCanvasTableModel*>(gobject_); }
00081 
00083   GooCanvasTableModel* gobj_copy();
00084 
00085 private:
00086 
00087 protected:
00088   TableModel();
00089   
00090 
00091 public:
00092 
00093   
00094   static Glib::RefPtr<TableModel> create();
00095 
00096 
00097   void attach(const Glib::RefPtr<ItemModel>& item, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach, Gtk::AttachOptions xoptions = Gtk::FILL | Gtk::EXPAND, Gtk::AttachOptions yoptions = Gtk::FILL | Gtk::EXPAND, double left_padding = 0.0, double right_padding = 0.0, double top_padding = 0.0, double bottom_padding = 0.0);
00098 
00099   void set_align(const Glib::RefPtr<ItemModel>& child, double xalign = 0.0, double yalign = 0.0);
00100   void set_align(const Glib::RefPtr<ItemModel>& child, Gtk::AlignmentEnum xalign = Gtk::ALIGN_LEFT, Gtk::AlignmentEnum yalign = Gtk::ALIGN_TOP);
00101 
00102   //We put these in item.hg instead.
00103   //See the comment there.
00104   //_WRAP_PROPERTY("x", double)
00105   //_WRAP_PROPERTY("y", double)
00106   //_WRAP_PROPERTY("width", double)
00107   //_WRAP_PROPERTY("height", double)
00108   #ifdef GLIBMM_PROPERTIES_ENABLED
00109 
00115   Glib::PropertyProxy<double> property_row_spacing() ;
00116 #endif //#GLIBMM_PROPERTIES_ENABLED
00117 
00118 #ifdef GLIBMM_PROPERTIES_ENABLED
00119 
00125   Glib::PropertyProxy_ReadOnly<double> property_row_spacing() const;
00126 #endif //#GLIBMM_PROPERTIES_ENABLED
00127 
00128   #ifdef GLIBMM_PROPERTIES_ENABLED
00129 
00135   Glib::PropertyProxy<double> property_column_spacing() ;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137 
00138 #ifdef GLIBMM_PROPERTIES_ENABLED
00139 
00145   Glib::PropertyProxy_ReadOnly<double> property_column_spacing() const;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147 
00148   #ifdef GLIBMM_PROPERTIES_ENABLED
00149 
00155   Glib::PropertyProxy<bool> property_homogeneous_rows() ;
00156 #endif //#GLIBMM_PROPERTIES_ENABLED
00157 
00158 #ifdef GLIBMM_PROPERTIES_ENABLED
00159 
00165   Glib::PropertyProxy_ReadOnly<bool> property_homogeneous_rows() const;
00166 #endif //#GLIBMM_PROPERTIES_ENABLED
00167 
00168   #ifdef GLIBMM_PROPERTIES_ENABLED
00169 
00175   Glib::PropertyProxy<bool> property_homogeneous_columns() ;
00176 #endif //#GLIBMM_PROPERTIES_ENABLED
00177 
00178 #ifdef GLIBMM_PROPERTIES_ENABLED
00179 
00185   Glib::PropertyProxy_ReadOnly<bool> property_homogeneous_columns() const;
00186 #endif //#GLIBMM_PROPERTIES_ENABLED
00187 
00188   #ifdef GLIBMM_PROPERTIES_ENABLED
00189 
00195   Glib::PropertyProxy<double> property_x_border_spacing() ;
00196 #endif //#GLIBMM_PROPERTIES_ENABLED
00197 
00198 #ifdef GLIBMM_PROPERTIES_ENABLED
00199 
00205   Glib::PropertyProxy_ReadOnly<double> property_x_border_spacing() const;
00206 #endif //#GLIBMM_PROPERTIES_ENABLED
00207 
00208   #ifdef GLIBMM_PROPERTIES_ENABLED
00209 
00215   Glib::PropertyProxy<double> property_y_border_spacing() ;
00216 #endif //#GLIBMM_PROPERTIES_ENABLED
00217 
00218 #ifdef GLIBMM_PROPERTIES_ENABLED
00219 
00225   Glib::PropertyProxy_ReadOnly<double> property_y_border_spacing() const;
00226 #endif //#GLIBMM_PROPERTIES_ENABLED
00227 
00228   #ifdef GLIBMM_PROPERTIES_ENABLED
00229 
00235   Glib::PropertyProxy<double> property_vert_grid_line_width() ;
00236 #endif //#GLIBMM_PROPERTIES_ENABLED
00237 
00238 #ifdef GLIBMM_PROPERTIES_ENABLED
00239 
00245   Glib::PropertyProxy_ReadOnly<double> property_vert_grid_line_width() const;
00246 #endif //#GLIBMM_PROPERTIES_ENABLED
00247 
00248   #ifdef GLIBMM_PROPERTIES_ENABLED
00249 
00255   Glib::PropertyProxy<double> property_horz_grid_line_width() ;
00256 #endif //#GLIBMM_PROPERTIES_ENABLED
00257 
00258 #ifdef GLIBMM_PROPERTIES_ENABLED
00259 
00265   Glib::PropertyProxy_ReadOnly<double> property_horz_grid_line_width() const;
00266 #endif //#GLIBMM_PROPERTIES_ENABLED
00267 
00268 
00269 public:
00270 
00271 public:
00272   //C++ methods used to invoke GTK+ virtual functions:
00273 #ifdef GLIBMM_VFUNCS_ENABLED
00274 #endif //GLIBMM_VFUNCS_ENABLED
00275 
00276 protected:
00277   //GTK+ Virtual Functions (override these to change behaviour):
00278 #ifdef GLIBMM_VFUNCS_ENABLED
00279 #endif //GLIBMM_VFUNCS_ENABLED
00280 
00281   //Default Signal Handlers::
00282 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00283 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00284 
00285 
00286 };
00287 
00288 } //namespace Goocanvas
00289 
00290 
00291 namespace Glib
00292 {
00301   Glib::RefPtr<Goocanvas::TableModel> wrap(GooCanvasTableModel* object, bool take_copy = false);
00302 }
00303 
00304 
00305 #endif /* _GOOCANVASMM_TABLEMODEL_H */
00306 

Generated on Thu Aug 13 16:42:26 2009 for goocanvasmm by  doxygen 1.5.9