table.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GOOCANVASMM_TABLE_H
00004 #define _GOOCANVASMM_TABLE_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/group.h>
00028 #include <gtkmm/enums.h>
00029 
00030 
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GooCanvasTable GooCanvasTable;
00033 typedef struct _GooCanvasTableClass GooCanvasTableClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Goocanvas
00038 { class Table_Class; } // namespace Goocanvas
00039 namespace Goocanvas
00040 {
00041 
00042 
00043 class Table : public Goocanvas::Group
00044 {
00045   
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047 
00048 public:
00049   typedef Table CppObjectType;
00050   typedef Table_Class CppClassType;
00051   typedef GooCanvasTable BaseObjectType;
00052   typedef GooCanvasTableClass BaseClassType;
00053 
00054 private:  friend class Table_Class;
00055   static CppClassType table_class_;
00056 
00057 private:
00058   // noncopyable
00059   Table(const Table&);
00060   Table& operator=(const Table&);
00061 
00062 protected:
00063   explicit Table(const Glib::ConstructParams& construct_params);
00064   explicit Table(GooCanvasTable* castitem);
00065 
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068 public:
00069   virtual ~Table();
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   GooCanvasTable*       gobj()       { return reinterpret_cast<GooCanvasTable*>(gobject_); }
00078 
00080   const GooCanvasTable* gobj() const { return reinterpret_cast<GooCanvasTable*>(gobject_); }
00081 
00083   GooCanvasTable* gobj_copy();
00084 
00085 private:
00086 
00087 protected:
00088   Table();
00089   
00090 
00091 public:
00092 
00093   
00094   static Glib::RefPtr<Table> create();
00095 
00096 
00112   void attach(const Glib::RefPtr<Item>& 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);
00113 
00114   // TODO: We should get rid of this overload with the next gtkmm API/ABI break.
00115   // See http://bugzilla.gnome.org/show_bug.cgi?id=142849.
00116   void set_align(const Glib::RefPtr<Item>& child, double xalign = 0.0, double yalign = 0.0);
00117   void set_align(const Glib::RefPtr<Item>& child, Gtk::AlignmentEnum xalign = Gtk::ALIGN_LEFT, Gtk::AlignmentEnum yalign = Gtk::ALIGN_TOP);
00118 
00119   //We put these in item.hg instead.
00120   //See the comment there.
00121   //_WRAP_PROPERTY("x", double)
00122   //_WRAP_PROPERTY("y", double)
00123   //_WRAP_PROPERTY("width", double)
00124   //_WRAP_PROPERTY("height", double)
00125   #ifdef GLIBMM_PROPERTIES_ENABLED
00126 
00132   Glib::PropertyProxy<double> property_row_spacing() ;
00133 #endif //#GLIBMM_PROPERTIES_ENABLED
00134 
00135 #ifdef GLIBMM_PROPERTIES_ENABLED
00136 
00142   Glib::PropertyProxy_ReadOnly<double> property_row_spacing() const;
00143 #endif //#GLIBMM_PROPERTIES_ENABLED
00144 
00145   #ifdef GLIBMM_PROPERTIES_ENABLED
00146 
00152   Glib::PropertyProxy<double> property_column_spacing() ;
00153 #endif //#GLIBMM_PROPERTIES_ENABLED
00154 
00155 #ifdef GLIBMM_PROPERTIES_ENABLED
00156 
00162   Glib::PropertyProxy_ReadOnly<double> property_column_spacing() const;
00163 #endif //#GLIBMM_PROPERTIES_ENABLED
00164 
00165   #ifdef GLIBMM_PROPERTIES_ENABLED
00166 
00172   Glib::PropertyProxy<bool> property_homogeneous_rows() ;
00173 #endif //#GLIBMM_PROPERTIES_ENABLED
00174 
00175 #ifdef GLIBMM_PROPERTIES_ENABLED
00176 
00182   Glib::PropertyProxy_ReadOnly<bool> property_homogeneous_rows() const;
00183 #endif //#GLIBMM_PROPERTIES_ENABLED
00184 
00185   #ifdef GLIBMM_PROPERTIES_ENABLED
00186 
00192   Glib::PropertyProxy<bool> property_homogeneous_columns() ;
00193 #endif //#GLIBMM_PROPERTIES_ENABLED
00194 
00195 #ifdef GLIBMM_PROPERTIES_ENABLED
00196 
00202   Glib::PropertyProxy_ReadOnly<bool> property_homogeneous_columns() const;
00203 #endif //#GLIBMM_PROPERTIES_ENABLED
00204 
00205   #ifdef GLIBMM_PROPERTIES_ENABLED
00206 
00212   Glib::PropertyProxy<double> property_x_border_spacing() ;
00213 #endif //#GLIBMM_PROPERTIES_ENABLED
00214 
00215 #ifdef GLIBMM_PROPERTIES_ENABLED
00216 
00222   Glib::PropertyProxy_ReadOnly<double> property_x_border_spacing() const;
00223 #endif //#GLIBMM_PROPERTIES_ENABLED
00224 
00225   #ifdef GLIBMM_PROPERTIES_ENABLED
00226 
00232   Glib::PropertyProxy<double> property_y_border_spacing() ;
00233 #endif //#GLIBMM_PROPERTIES_ENABLED
00234 
00235 #ifdef GLIBMM_PROPERTIES_ENABLED
00236 
00242   Glib::PropertyProxy_ReadOnly<double> property_y_border_spacing() const;
00243 #endif //#GLIBMM_PROPERTIES_ENABLED
00244 
00245   #ifdef GLIBMM_PROPERTIES_ENABLED
00246 
00252   Glib::PropertyProxy<double> property_vert_grid_line_width() ;
00253 #endif //#GLIBMM_PROPERTIES_ENABLED
00254 
00255 #ifdef GLIBMM_PROPERTIES_ENABLED
00256 
00262   Glib::PropertyProxy_ReadOnly<double> property_vert_grid_line_width() const;
00263 #endif //#GLIBMM_PROPERTIES_ENABLED
00264 
00265   #ifdef GLIBMM_PROPERTIES_ENABLED
00266 
00272   Glib::PropertyProxy<double> property_horz_grid_line_width() ;
00273 #endif //#GLIBMM_PROPERTIES_ENABLED
00274 
00275 #ifdef GLIBMM_PROPERTIES_ENABLED
00276 
00282   Glib::PropertyProxy_ReadOnly<double> property_horz_grid_line_width() const;
00283 #endif //#GLIBMM_PROPERTIES_ENABLED
00284 
00285 
00286 public:
00287 
00288 public:
00289   //C++ methods used to invoke GTK+ virtual functions:
00290 #ifdef GLIBMM_VFUNCS_ENABLED
00291 #endif //GLIBMM_VFUNCS_ENABLED
00292 
00293 protected:
00294   //GTK+ Virtual Functions (override these to change behaviour):
00295 #ifdef GLIBMM_VFUNCS_ENABLED
00296 #endif //GLIBMM_VFUNCS_ENABLED
00297 
00298   //Default Signal Handlers::
00299 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00300 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00301 
00302 
00303 };
00304 
00305 } //namespace Goocanvas
00306 
00307 
00308 namespace Glib
00309 {
00318   Glib::RefPtr<Goocanvas::Table> wrap(GooCanvasTable* object, bool take_copy = false);
00319 }
00320 
00321 
00322 #endif /* _GOOCANVASMM_TABLE_H */
00323 

Generated on Sun Jul 26 00:01:58 2009 for goocanvasmm by  doxygen 1.5.9