childmeta.h
Go to the documentation of this file.00001
00002
00003 #ifndef _CLUTTERMM_CHILDMETA_H
00004 #define _CLUTTERMM_CHILDMETA_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 <glibmm/object.h>
00027 #include <glibmm/refptr.h>
00028
00029
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _ClutterChildMeta ClutterChildMeta;
00032 typedef struct _ClutterChildMetaClass ClutterChildMetaClass;
00033 #endif
00034
00035
00036 namespace Clutter
00037 { class ChildMeta_Class; }
00038 namespace Clutter
00039 {
00040
00041 class Actor;
00042 class Container;
00043
00044
00045 class ChildMeta : public Glib::Object
00046 {
00047
00048 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00049
00050 public:
00051 typedef ChildMeta CppObjectType;
00052 typedef ChildMeta_Class CppClassType;
00053 typedef ClutterChildMeta BaseObjectType;
00054 typedef ClutterChildMetaClass BaseClassType;
00055
00056 private: friend class ChildMeta_Class;
00057 static CppClassType childmeta_class_;
00058
00059 private:
00060
00061 ChildMeta(const ChildMeta&);
00062 ChildMeta& operator=(const ChildMeta&);
00063
00064 protected:
00065 explicit ChildMeta(const Glib::ConstructParams& construct_params);
00066 explicit ChildMeta(ClutterChildMeta* castitem);
00067
00068 #endif
00069
00070 public:
00071 virtual ~ChildMeta();
00072
00073 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00074 static GType get_type() G_GNUC_CONST;
00075 static GType get_base_type() G_GNUC_CONST;
00076 #endif
00077
00079 ClutterChildMeta* gobj() { return reinterpret_cast<ClutterChildMeta*>(gobject_); }
00080
00082 const ClutterChildMeta* gobj() const { return reinterpret_cast<ClutterChildMeta*>(gobject_); }
00083
00085 ClutterChildMeta* gobj_copy();
00086
00087 private:
00088
00089 protected:
00090 ChildMeta(const Glib::RefPtr<Container>& container, const Glib::RefPtr<Actor>& actor);
00091
00092 public:
00093
00099 Glib::RefPtr<Container> get_container();
00100
00106 Glib::RefPtr<const Container> get_container() const;
00107
00113 Glib::RefPtr<Actor> get_actor();
00114
00120 Glib::RefPtr<const Actor> get_actor() const;
00121
00122 #ifdef GLIBMM_PROPERTIES_ENABLED
00123
00129 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Container> > property_container() const;
00130 #endif //#GLIBMM_PROPERTIES_ENABLED
00131
00132
00133 #ifdef GLIBMM_PROPERTIES_ENABLED
00134
00140 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Actor> > property_actor() const;
00141 #endif //#GLIBMM_PROPERTIES_ENABLED
00142
00143
00144 public:
00145
00146 public:
00147
00148 #ifdef GLIBMM_VFUNCS_ENABLED
00149 #endif //GLIBMM_VFUNCS_ENABLED
00150
00151 protected:
00152
00153 #ifdef GLIBMM_VFUNCS_ENABLED
00154 #endif //GLIBMM_VFUNCS_ENABLED
00155
00156
00157 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00158 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00159
00160
00161 };
00162
00163 }
00164
00165
00166 namespace Glib
00167 {
00176 Glib::RefPtr<Clutter::ChildMeta> wrap(ClutterChildMeta* object, bool take_copy = false);
00177 }
00178
00179
00180 #endif
00181