Emmanuele Bassi
78eb07d657
text: Allow selectability without editability
...
Being able to select text and being able to edit text are two separate
capabilities, but ClutterText only allows the former with the latter.
The ClutterText:selectable property is set to TRUE by default, given
that it depends on the :editable property; this implies that all
ClutterText instances now are going to show a cursor as soon as they get
key focused. Obviously, this would make labels look a bit off — but if
you have a label then you would not give it key focus, either by
explicitly calling clutter_actor_grab_focus(), or by setting it as
reactive and allowing it to be clicked.
If this turns out to be a problem, we have various ways to avoid showing
a cursor — for instance, we could change the default value of the
selectable property, and ensure that setting the :editable property to
TRUE would also set the :selectable property as a side effect. Or we
could hide the cursor until the first button/touch press event. Finally,
we could always back this commit out if it proves to be too much of a
breakage for existing code bases.
https://bugzilla.gnome.org/show_bug.cgi?id=757470
2015-11-28 20:20:00 +00:00
..
2015-07-11 10:18:18 +01:00
2015-09-15 12:29:05 +01:00
2015-08-01 21:55:07 +02:00
2015-11-18 13:00:53 +01:00
2015-11-22 21:45:55 +00:00
2015-03-03 16:14:15 +00:00
2014-12-15 16:51:05 +00:00
2015-11-18 13:00:53 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-08-24 09:59:16 +01:00
2015-10-01 13:38:47 -04:00
2015-07-11 10:18:18 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:31 +01:00
2015-09-15 12:29:04 +01:00
2015-11-18 12:59:05 +01:00
2015-07-07 16:03:32 +01:00
2015-04-23 17:39:30 +01:00
2015-07-07 16:03:32 +01:00
2014-12-16 13:33:16 +00:00
2015-07-07 16:03:32 +01:00
2014-03-17 23:07:58 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-08-21 12:11:05 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-08-24 09:59:53 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-10-17 18:44:25 +02:00
2015-07-07 16:03:32 +01:00
2015-09-29 14:15:16 -04:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-03-12 20:22:57 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2014-12-16 00:37:06 +00:00
2014-12-16 00:46:16 +00:00
2015-07-07 16:03:32 +01:00
2014-12-15 23:45:25 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:31 +01:00
2015-07-07 16:03:32 +01:00
2015-11-18 12:59:05 +01:00
2015-11-18 12:59:05 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-04-23 17:39:30 +01:00
2015-07-07 16:03:32 +01:00
2012-07-19 22:13:24 -04:00
2015-07-07 16:03:32 +01:00
2015-07-10 21:47:01 +02:00
2015-07-11 18:09:45 +08:00
2015-07-10 21:47:30 +02:00
2015-03-03 15:53:04 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-04-23 17:39:30 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-09-04 13:53:04 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-08-24 10:01:03 +01:00
2015-07-07 16:03:32 +01:00
2015-02-06 09:42:17 -08:00
2015-07-07 16:03:32 +01:00
2014-12-15 23:45:25 +00:00
2015-07-07 16:03:32 +01:00
2014-12-11 22:37:22 +00:00
2015-07-07 16:03:32 +01:00
2015-07-17 13:15:32 +01:00
2015-01-03 20:05:22 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-11-18 11:54:26 +00:00
2015-07-10 21:47:01 +02:00
2015-07-07 16:03:32 +01:00
2015-09-15 12:23:08 +01:00
2015-02-17 18:55:23 +00:00
2015-02-17 19:12:40 +00:00
2015-02-17 18:55:23 +00:00
2015-02-21 00:26:40 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-03-12 20:22:57 +00:00
2015-07-07 16:03:32 +01:00
2015-03-12 20:22:57 +00:00
2015-07-07 16:03:32 +01:00
2015-06-11 15:47:48 -03:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-01-01 15:16:40 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2014-12-14 23:05:17 +00:00
2015-03-12 20:22:57 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-06-10 12:28:59 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-05-01 16:51:12 +01:00
2015-07-07 16:03:32 +01:00
2015-05-26 19:05:20 +02:00
2015-07-07 16:03:32 +01:00
2015-03-03 15:53:04 +00:00
2015-07-07 16:03:32 +01:00
2015-11-28 20:20:00 +00:00
2015-07-07 16:03:32 +01:00
2015-03-03 15:53:04 +00:00
2015-09-21 17:02:39 +01:00
2015-07-07 16:03:32 +01:00
2014-12-15 23:45:25 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:32 +01:00
2015-11-18 11:54:26 +00:00
2015-07-07 16:03:32 +01:00
2015-07-07 16:03:31 +01:00
2015-11-18 13:00:48 +01:00