00001
00002
00003 #ifndef _CLUTTERMM_GROUP_H
00004 #define _CLUTTERMM_GROUP_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
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
00034
00035
00036 namespace Clutter
00037 { class Group_Class; }
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
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
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
00126
00127
00128 public:
00129
00130 public:
00131
00132 #ifdef GLIBMM_VFUNCS_ENABLED
00133 #endif //GLIBMM_VFUNCS_ENABLED
00134
00135 protected:
00136
00137 #ifdef GLIBMM_VFUNCS_ENABLED
00138 #endif //GLIBMM_VFUNCS_ENABLED
00139
00140
00141 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00142 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00143
00144
00145 };
00146
00147 }
00148
00149
00150 namespace Glib
00151 {
00160 Glib::RefPtr<Clutter::Group> wrap(ClutterGroup* object, bool take_copy = false);
00161 }
00162
00163
00164 #endif
00165