glibmm r707 - in trunk: . glib/glibmm tests/giomm_notebook_pages
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glibmm r707 - in trunk: . glib/glibmm tests/giomm_notebook_pages
- Date: Mon, 4 Aug 2008 11:18:12 +0000 (UTC)
Author: murrayc
Date: Mon Aug 4 11:18:12 2008
New Revision: 707
URL: http://svn.gnome.org/viewvc/glibmm?rev=707&view=rev
Log:
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).
Added:
trunk/tests/giomm_notebook_pages/
Modified:
trunk/ChangeLog
trunk/glib/glibmm/propertyproxy.h
Modified: trunk/glib/glibmm/propertyproxy.h
==============================================================================
--- trunk/glib/glibmm/propertyproxy.h (original)
+++ trunk/glib/glibmm/propertyproxy.h Mon Aug 4 11:18:12 2008
@@ -39,6 +39,11 @@
* @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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]