grid.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_LIBSMM_GRID_H
00004 #define _HILDON_LIBSMM_GRID_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: date-editor.hg,v 1.10 2005/02/15 10:52:44 murrayc Exp $ */
00010 
00011 /* grid.h
00012  *
00013  * Copyright (C) 1998-2005 The gtkmm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <gtkmm/container.h>
00031 #include <hildon-libsmm/grid-item.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _HildonGrid HildonGrid;
00036 typedef struct _HildonGridClass HildonGridClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Hildon
00041 { class Grid_Class; } // namespace Hildon
00042 namespace Hildon
00043 {
00044 
00050 class Grid : public Gtk::Container
00051 {
00052   public:
00053 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00054   typedef Grid CppObjectType;
00055   typedef Grid_Class CppClassType;
00056   typedef HildonGrid BaseObjectType;
00057   typedef HildonGridClass BaseClassType;
00058 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00059 
00060   virtual ~Grid();
00061 
00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063 
00064 private:
00065   friend class Grid_Class;
00066   static CppClassType grid_class_;
00067 
00068   // noncopyable
00069   Grid(const Grid&);
00070   Grid& operator=(const Grid&);
00071 
00072 protected:
00073   explicit Grid(const Glib::ConstructParams& construct_params);
00074   explicit Grid(HildonGrid* castitem);
00075 
00076 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00077 
00078 public:
00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00080   static GType get_type()      G_GNUC_CONST;
00081   static GType get_base_type() G_GNUC_CONST;
00082 #endif
00083 
00085   HildonGrid*       gobj()       { return reinterpret_cast<HildonGrid*>(gobject_); }
00086 
00088   const HildonGrid* gobj() const { return reinterpret_cast<HildonGrid*>(gobject_); }
00089 
00090 
00091 public:
00092   //C++ methods used to invoke GTK+ virtual functions:
00093 #ifdef GLIBMM_VFUNCS_ENABLED
00094 #endif //GLIBMM_VFUNCS_ENABLED
00095 
00096 protected:
00097   //GTK+ Virtual Functions (override these to change behaviour):
00098 #ifdef GLIBMM_VFUNCS_ENABLED
00099 #endif //GLIBMM_VFUNCS_ENABLED
00100 
00101   //Default Signal Handlers::
00102 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00103   virtual void on_activate_child(GridItem* item);
00104   virtual void on_popup_context_menu(GridItem* item);
00105 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00106 
00107 
00108 private:
00109 
00110 public:
00111   Grid();
00112   ;
00113 
00114   
00119   void set_style(const Glib::ustring& style_name);
00120   
00124   Glib::ustring get_style() const;
00125 
00126   
00130   void set_scrollbar_pos(int scrollbar_pos);
00131   
00135   int get_scrollbar_pos() const;
00136 
00137   
00141   void activate_child(GridItem& item);
00142 
00143  
00144   Glib::SignalProxy1< void,GridItem* > signal_activate_child();
00145 
00146   
00147   Glib::SignalProxy1< void,GridItem* > signal_popup_context_menu();
00148 
00149 
00150   #ifdef GLIBMM_PROPERTIES_ENABLED
00151 
00157   Glib::PropertyProxy<Glib::ustring> property_empty_label() ;
00158 #endif //#GLIBMM_PROPERTIES_ENABLED
00159 
00160 #ifdef GLIBMM_PROPERTIES_ENABLED
00161 
00167   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_empty_label() const;
00168 #endif //#GLIBMM_PROPERTIES_ENABLED
00169 
00170   #ifdef GLIBMM_PROPERTIES_ENABLED
00171 
00177   Glib::PropertyProxy<Glib::ustring> property_scrollbar_position() ;
00178 #endif //#GLIBMM_PROPERTIES_ENABLED
00179 
00180 #ifdef GLIBMM_PROPERTIES_ENABLED
00181 
00187   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_scrollbar_position() const;
00188 #endif //#GLIBMM_PROPERTIES_ENABLED
00189 
00190 
00191 };
00192 
00193 } // namespace Hildon
00194 
00195 
00196 namespace Glib
00197 {
00203   Hildon::Grid* wrap(HildonGrid* object, bool take_copy = false);
00204 } //namespace Glib
00205 
00206 
00207 #endif /* _HILDON_LIBSMM_GRID_H */
00208 

Generated on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6