group.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTERMM_GROUP_H
00004 #define _CLUTTERMM_GROUP_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 2007 The cluttermm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 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  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library 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 #include <cluttermm/actor.h>
00027 #include <cluttermm/container.h>
00028  
00029 
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _ClutterGroup ClutterGroup;
00032 typedef struct _ClutterGroupClass ClutterGroupClass;
00033 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00034 
00035 
00036 namespace Clutter
00037 { class Group_Class; } // namespace Clutter
00038 namespace Clutter
00039 {
00040 
00041 
00042 class Group :
00043     public Actor,
00044     public Container
00045 {
00046   
00047 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00048 
00049 public:
00050   typedef Group CppObjectType;
00051   typedef Group_Class CppClassType;
00052   typedef ClutterGroup BaseObjectType;
00053   typedef ClutterGroupClass BaseClassType;
00054 
00055 private:  friend class Group_Class;
00056   static CppClassType group_class_;
00057 
00058 private:
00059   // noncopyable
00060   Group(const Group&);
00061   Group& operator=(const Group&);
00062 
00063 protected:
00064   explicit Group(const Glib::ConstructParams& construct_params);
00065   explicit Group(ClutterGroup* castitem);
00066 
00067 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00068 
00069 public:
00070   virtual ~Group();
00071 
00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00073   static GType get_type()      G_GNUC_CONST;
00074   static GType get_base_type() G_GNUC_CONST;
00075 #endif
00076 
00078   ClutterGroup*       gobj()       { return reinterpret_cast<ClutterGroup*>(gobject_); }
00079 
00081   const ClutterGroup* gobj() const { return reinterpret_cast<ClutterGroup*>(gobject_); }
00082 
00084   ClutterGroup* gobj_copy();
00085 
00086 private:
00087 
00088   
00089 protected:
00090   Group();
00091 
00092 public:
00093   
00094   static Glib::RefPtr<Group> create();
00095 
00096 
00099   void remove_all();
00100   
00106   int get_n_children() const;
00107   
00114   Glib::RefPtr<Actor> get_nth_child(int index);
00115   
00122   Glib::RefPtr<const Actor> get_nth_child(int index) const;
00123 
00124 
00125   // these functions were deprecated in favor of their Container counterparts
00126   
00127   
00128 public:
00129 
00130 public:
00131   //C++ methods used to invoke GTK+ virtual functions:
00132 #ifdef GLIBMM_VFUNCS_ENABLED
00133 #endif //GLIBMM_VFUNCS_ENABLED
00134 
00135 protected:
00136   //GTK+ Virtual Functions (override these to change behaviour):
00137 #ifdef GLIBMM_VFUNCS_ENABLED
00138 #endif //GLIBMM_VFUNCS_ENABLED
00139 
00140   //Default Signal Handlers::
00141 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00142 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00143 
00144 
00145 };
00146 
00147 } // namespace Clutter
00148 
00149 
00150 namespace Glib
00151 {
00160   Glib::RefPtr<Clutter::Group> wrap(ClutterGroup* object, bool take_copy = false);
00161 }
00162 
00163 
00164 #endif /* _CLUTTERMM_GROUP_H */
00165 

Generated on Fri Jun 6 02:12:58 2008 for cluttermm by  doxygen 1.5.5