]> Pileus Git - ~andy/gtk/commit
Implement touch text selection in GtkEntry
authorCarlos Garnacho <carlos@lanedo.com>
Wed, 11 Jul 2012 13:55:00 +0000 (15:55 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Sep 2012 04:19:46 +0000 (00:19 -0400)
commitd38efb1713a5dc76c9f6d7019df044e32580dfcb
treef48aa4c9ba87659fb741a111e5e4c926a52e8484
parent1f7e375c33c77209181f6b3d3720c1f72c652153
Implement touch text selection in GtkEntry

GtkTextHandle is used to indicate both the cursor position
and the selection bound, dragging the handles will modify
the selection and scroll if necessary.

Backwards text selection is also blocked for touch devices,
so the handles don't get inverted positions (This is more
important though on GtkTextView, as inverted handles may
obscure portions of the selected text, good for consistence
though)
gtk/gtkentry.c