summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-11-30 13:47:15 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-11-30 13:47:15 +0000
commitc8ef4349fed719040b8e92449eaa0aad75103401 (patch)
treed4ade2835dc526660012512b853aebf9f0d78075 /clutter
parent388fe9b542946adcb97b4f1e83065f77b1248f97 (diff)
downloadclutter-c8ef4349fed719040b8e92449eaa0aad75103401.tar.gz
docs: Improve documentation for ClutterText
Ensure that the rule for :cursor-visible are documented.
Diffstat (limited to 'clutter')
-rw-r--r--clutter/clutter-text.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 51bba38d1..7b34da504 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
*/