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



commit 18e75a51927a3d5efe879c3eb7ffa694749965fa
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 b30cba18..b6bdfaf5 100644
--- a/glib/src/binding.hg
+++ b/glib/src/binding.hg
@@ -101,8 +101,13 @@ class Binding : public Glib::Object
   _CLASS_GOBJECT(Binding, GBinding, G_BINDING, Glib::Object, GObject)
 
 public:
-  /** 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]