summaryrefslogtreecommitdiff
path: root/tools/m4/property.m4
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@usa.net>2003-11-03 09:27:33 +0000
committerMurray Cumming <murrayc@src.gnome.org>2003-11-03 09:27:33 +0000
commit9f335531a618230436a4f750e8e83b5fd845873d (patch)
tree8d4b78334e1921a47a840fa07e0d1d1b9b0e1ab1 /tools/m4/property.m4
parenta86081587ca4aa8e090cffcc10dfe62412ed46b9 (diff)
downloadglibmm-9f335531a618230436a4f750e8e83b5fd845873d.tar.gz
Added init.[h|cc] with Glib::init() so that the gnomemm init() methods do
2003-11-02 Murray Cumming <murrayc@usa.net> * glib/glibmm/: Added init.[h|cc] with Glib::init() so that the gnomemm init() methods do not need to initialize gtkmm. * tools/m4/class_gobject.m4, class_gtkobject.m4: Added _GMMPROC_PROTECTED_GCLASS macro, needed by libgnomecanvasmm. This was not previously properly merged from gtkmm2. * tools/m4/property.m4: Re-added PropertyProxy reference documentation that did not survive a previous merge from gtkmm2.
Diffstat (limited to 'tools/m4/property.m4')
-rw-r--r--tools/m4/property.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/m4/property.m4 b/tools/m4/property.m4
index cc58b9d0..7daee1ac 100644
--- a/tools/m4/property.m4
+++ b/tools/m4/property.m4
@@ -14,6 +14,11 @@ define(`_PROPERTY_PROXY',`dnl
dnl
dnl Put spaces around the template parameter if necessary.
pushdef(`__PROXY_TYPE__',`dnl
+/**
+ * You rarely need to use properties because there are get_ and set_ methods for almost all of them.
+ * @return A PropertyProxy that allows you to get or set the property of the value, or receive notification when
+ * the value of the property changes.
+ */
Glib::PropertyProxy$3<'ifelse(regexp(_QUOTE($2),`>$'),`-1',_QUOTE($2),` '_QUOTE($2)` ')`>'dnl
)dnl
__PROXY_TYPE__ property_$1`'();