mutter/clutter
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
..
cally
cex100
cogl
deprecated
egl
evdev
gdk
mir
osx
tslib
wayland
win32
x11
clutter-action.c
clutter-action.h
clutter-actor-box.c
clutter-actor-meta-private.h
clutter-actor-meta.c
clutter-actor-meta.h
clutter-actor-private.h
clutter-actor.c
clutter-actor.h
clutter-align-constraint.c
clutter-align-constraint.h
clutter-animatable.c
clutter-animatable.h
clutter-autocleanups.h
clutter-backend-private.h
clutter-backend.c
clutter-backend.h
clutter-base-types.c
clutter-bezier.c
clutter-bezier.h
clutter-bin-layout.c
clutter-bin-layout.h
clutter-bind-constraint.c
clutter-bind-constraint.h
clutter-binding-pool.c
clutter-binding-pool.h
clutter-blur-effect.c
clutter-blur-effect.h
clutter-box-layout.c
clutter-box-layout.h
clutter-brightness-contrast-effect.c
clutter-brightness-contrast-effect.h
clutter-cairo.c
clutter-cairo.h
clutter-canvas.c
clutter-canvas.h
clutter-child-meta.c
clutter-child-meta.h
clutter-click-action.c
clutter-click-action.h
clutter-clone.c
clutter-clone.h
clutter-cogl-compat.h
clutter-color-static.h
clutter-color.c
clutter-color.h
clutter-colorize-effect.c
clutter-colorize-effect.h
clutter-config.h.in
clutter-config.h.win32
clutter-config.h.win32_GDK
clutter-constraint-private.h
clutter-constraint.c
clutter-constraint.h
clutter-container.c
clutter-container.h
clutter-content-private.h
clutter-content.c
clutter-content.h
clutter-debug.h
clutter-deform-effect.c
clutter-deform-effect.h
clutter-deprecated.h
clutter-desaturate-effect.c
clutter-desaturate-effect.h
clutter-device-manager-private.h
clutter-device-manager.c
clutter-device-manager.h
clutter-drag-action.c
clutter-drag-action.h
clutter-drop-action.c
clutter-drop-action.h
clutter-easing.c
clutter-easing.h
clutter-effect-private.h
clutter-effect.c
clutter-effect.h
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-enums.h
clutter-event-private.h
clutter-event-translator.c
clutter-event-translator.h
clutter-event.c
clutter-event.h
clutter-feature.c
clutter-feature.h
clutter-fixed-layout.c
clutter-fixed-layout.h
clutter-flatten-effect.c
clutter-flatten-effect.h
clutter-flow-layout.c
clutter-flow-layout.h
clutter-gesture-action-private.h
clutter-gesture-action.c
clutter-gesture-action.h
clutter-grid-layout.c
clutter-grid-layout.h
clutter-group.h
clutter-id-pool.c
clutter-id-pool.h
clutter-image.c
clutter-image.h
clutter-input-device.c
clutter-input-device.h
clutter-interval.c
clutter-interval.h
clutter-keyframe-transition.c
clutter-keyframe-transition.h
clutter-keysyms-table.c
clutter-keysyms-update.pl
clutter-keysyms.h
clutter-layout-manager.c
clutter-layout-manager.h
clutter-layout-meta.c
clutter-layout-meta.h
clutter-macros.h
clutter-main.c
clutter-main.h
clutter-marshal.list
clutter-master-clock-default.c
clutter-master-clock-default.h
clutter-master-clock.c
clutter-master-clock.h
clutter-offscreen-effect-private.h
clutter-offscreen-effect.c
clutter-offscreen-effect.h
clutter-page-turn-effect.c
clutter-page-turn-effect.h
clutter-paint-node-private.h
clutter-paint-node.c
clutter-paint-node.h
clutter-paint-nodes.c
clutter-paint-nodes.h
clutter-paint-volume-private.h
clutter-paint-volume.c
clutter-pan-action.c
clutter-pan-action.h
clutter-path-constraint.c
clutter-path-constraint.h
clutter-path.c
clutter-path.h
clutter-private.h
clutter-property-transition.c
clutter-property-transition.h
clutter-rotate-action.c
clutter-rotate-action.h
clutter-script-parser.c
clutter-script-private.h
clutter-script.c
clutter-script.h
clutter-scriptable.c
clutter-scriptable.h
clutter-scroll-actor.c
clutter-scroll-actor.h
clutter-settings-private.h
clutter-settings.c
clutter-settings.h
clutter-shader-effect.c
clutter-shader-effect.h
clutter-shader-types.c
clutter-shader-types.h
clutter-snap-constraint.c
clutter-snap-constraint.h
clutter-stage-manager-private.h
clutter-stage-manager.c
clutter-stage-manager.h
clutter-stage-private.h
clutter-stage-window.c
clutter-stage-window.h
clutter-stage.c
clutter-stage.h
clutter-swipe-action.c
clutter-swipe-action.h
clutter-tap-action.c
clutter-tap-action.h
clutter-test-utils.c
clutter-test-utils.h
clutter-text-buffer.c
clutter-text-buffer.h
clutter-text.c text: Allow selectability without editability 2015-11-28 20:20:00 +00:00
clutter-text.h
clutter-texture.h
clutter-timeline.c
clutter-timeline.h
clutter-transition-group.c
clutter-transition-group.h
clutter-transition.c
clutter-transition.h
clutter-types.h
clutter-units.c
clutter-units.h
clutter-util.c
clutter-version.h.in
clutter-zoom-action.c
clutter-zoom-action.h
clutter.h
clutter.pc.in
config.h.win32.in
Makefile.am