summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2008-08-04 11:18:12 +0000
committerMurray Cumming <murrayc@src.gnome.org>2008-08-04 11:18:12 +0000
commitbe5a32a824878c02003dd3cdceed76dbc19c2679 (patch)
tree95c73830091f72122351e47773873bf6fa66d4da
parent7f912ef2cf1b1e6af4dac77acdeb4052f4755942 (diff)
downloadglibmm-be5a32a824878c02003dd3cdceed76dbc19c2679.tar.gz
Added some API documentation about the need to register a new GType when
2008-08-04 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/propertyproxy.h: Added some API documentation about the need to register a new GType when adding properties. Bug #523043 (Moritz Ulrich). svn path=/trunk/; revision=707
-rw-r--r--ChangeLog6
-rw-r--r--glib/glibmm/propertyproxy.h5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ae1a522..3581b33e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-04 Murray Cumming <murrayc@murrayc.com>
+
+ * glib/glibmm/propertyproxy.h: Added some API documentation
+ about the need to register a new GType when adding properties.
+ Bug #523043 (Moritz Ulrich).
+
2008-08-02 Murray Cumming <murrayc@murrayc.com>
* docs/reference/glibmm_header.html_fragment: Change the Main
diff --git a/glib/glibmm/propertyproxy.h b/glib/glibmm/propertyproxy.h
index 392f5c24..442d1e5a 100644
--- a/glib/glibmm/propertyproxy.h
+++ b/glib/glibmm/propertyproxy.h
@@ -39,6 +39,11 @@ namespace Glib
* @endcode
*
* You may also receive notification when a property's value changes, by connecting to signal_changed().
+ *
+ * You may register new properties for your class (actually for the underlying GType)
+ * simply by adding a PropertyProxy instance as a class member.
+ * However, your constructor must call the Glib::ObjectBase constructor with a new GType name,
+ * in order to register a new GType.
*/
template <class T>
class PropertyProxy : public PropertyProxy_Base