[clutter] docs: Improve documentation for ClutterText



commit c8ef4349fed719040b8e92449eaa0aad75103401
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Nov 30 13:47:15 2015 +0000

    docs: Improve documentation for ClutterText
    
    Ensure that the rule for :cursor-visible are documented.

 clutter/clutter-text.c |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 51bba38..7b34da5 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -3484,6 +3484,9 @@ clutter_text_class_init (ClutterTextClass *klass)
    * Whether it is possible to select text, either using the pointer
    * or the keyboard.
    *
+   * This property depends on the #ClutterActor:reactive property being
+   * set to %TRUE.
+   *
    * Since: 1.0
    */
   pspec = g_param_spec_boolean ("selectable",
@@ -3512,9 +3515,11 @@ clutter_text_class_init (ClutterTextClass *klass)
   /**
    * ClutterText:cursor-visible:
    *
-   * Whether the input cursor is visible or not, it will only be visible
-   * if both #ClutterText:cursor-visible and #ClutterText:editable are
-   * set to %TRUE.
+   * Whether the input cursor is visible or not.
+   *
+   * The cursor will only be visible if this property and either
+   * the #ClutterText:editable or the #ClutterText:selectable properties
+   * are set to %TRUE.
    *
    * Since: 1.0
    */


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