a36ada99fd2eebd80c567b8ee876f18afd78bfc8
This adds long-press gesture detection to the CursorInvoker used in the EventIcon. This will make this gesture available for the View icons for example. We need to keep a boolean around to detect when a lon-press event has happened and ignore the button-release event in that case. We add as well checks in the CursorInvoker and WidgetInvoker for the enter events if they are of type Gdk.CrossingMode.NORMAL, otherwise the Gdk.CrossingMode.TOUCH_BEGIN enter events that are detected when a touch starts are handled and interfere. Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
…
…
…
…
…
Sugar is the core of the OLPC Human Interface. The toolkit provides a set of widgets to build HIG compliant applications and interfaces to interact with system services like presence and the datastore.
Description
Languages
Gettext Catalog
62.6%
Python
24.5%
C
12.3%
Makefile
0.3%
M4
0.3%