From c8ef4349fed719040b8e92449eaa0aad75103401 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 30 Nov 2015 13:47:15 +0000 Subject: [PATCH] docs: Improve documentation for ClutterText Ensure that the rule for :cursor-visible are documented. --- clutter/clutter-text.c | 11 ++++++++--- 1 file 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 */