[glibmm/wip/dboles/Binding-master: 1/4] Binding: Better explain purpose of SlotTransform,



commit 95b57f7306484e52824050ecebd365c27c42393a
Author: Daniel Boles <dboles src gmail com>
Date:   Sat Nov 9 13:14:54 2019 +0000

    Binding: Better explain purpose of SlotTransform,
    
    and use better formatting for it too.

 glib/src/binding.hg | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
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.
    */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]