Changes

Created page with "Work in progress page to write down some code snippets that I'm finding in the meanwhile. = Touch and hold = * '''Browse''': Touch and hold to trigger right click palette (f..."
Work in progress page to write down some code snippets that I'm finding in the meanwhile.

= Touch and hold =

* '''Browse''': Touch and hold to trigger right click palette (for links, downloading, copy etc)
** http://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventTouch

I think we should use '''event.touch.sequence''' and look for the GDK_TOUCH_BEGIN and take its ''time''. After that, compare this time with the actual one comming from '''event.touch.time''' and show the palette if it is bigger than 1000 milliseconds for example.

The problem that I'm having is that '''event.touch.sequence''' doesn't tell me about the sequence itself. So, I don't know what was the GDK_TOUCH_BEGIN.
266

edits