summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorDaniel Boles <dboles.src@gmail.com>2019-11-09 13:14:54 +0000
committerDaniel Boles <dboles@src.gnome.org>2019-11-09 15:15:05 +0000
commit95b57f7306484e52824050ecebd365c27c42393a (patch)
tree775dba4a15007c0dca5ee5a88a976115fe5b986f /glib
parent704d24123c024dae9c3f91ade120f21bb3af376f (diff)
downloadglibmm-95b57f7306484e52824050ecebd365c27c42393a.tar.gz
Binding: Better explain purpose of SlotTransform,
and use better formatting for it too.
Diffstat (limited to 'glib')
-rw-r--r--glib/src/binding.hg7
1 files changed, 6 insertions, 1 deletions
diff --git a/glib/src/binding.hg b/glib/src/binding.hg
index 33f69b5e..ca20d939 100644
--- a/glib/src/binding.hg
+++ b/glib/src/binding.hg
@@ -102,8 +102,13 @@ class Binding : public Glib::Object
public:
_WRAP_ENUM(Flags, GBindingFlags, newin "2,44")
- /** For instance,<br>
+ /** A slot to be called to transform values in a binding created by
+ * bind_property_value().
+ *
+ * For instance:
+ * @code
* bool on_transform_to(const GValue* from_value, GValue* to_value);
+ * @endcode
*
* @return <tt>true</tt> if the transformation was successful, and <tt>false</tt> otherwise.
*/