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 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 #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   
00115   Glib::RefPtr<Actor> get_nth_child(int index);
00116   
00124   Glib::RefPtr<const Actor> get_nth_child(int index) const;
00125 
00126 
00127   // these functions were deprecated in favor of their Container counterparts
00128   
00129   
00130 public:
00131 
00132 public:
00133   //C++ methods used to invoke GTK+ virtual functions:
00134 #ifdef GLIBMM_VFUNCS_ENABLED
00135 #endif //GLIBMM_VFUNCS_ENABLED
00136 
00137 protected:
00138   //GTK+ Virtual Functions (override these to change behaviour):
00139 #ifdef GLIBMM_VFUNCS_ENABLED
00140 #endif //GLIBMM_VFUNCS_ENABLED
00141 
00142   //Default Signal Handlers::
00143 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00144 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00145 
00146 
00147 };
00148 
00149 } // namespace Clutter
00150 
00151 
00152 namespace Glib
00153 {
00162   Glib::RefPtr<Clutter::Group> wrap(ClutterGroup* object, bool take_copy = false);
00163 }
00164 
00165 
00166 #endif /* _CLUTTERMM_GROUP_H */
00167 

Generated on 26 Feb 2010 for cluttermm by  doxygen 1.6.1