You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a515976dff
The WidgetInvoker will decide if a long press has been made or not. We watch out for TOUCH_END events and when a long-press event has been seen before we stop further propagation of the event, hence there won't be any button-release or clicked events available to the user of the widget. There are several widgets using the WidgetInvoker, and those handle differently touch events. The GtkButton does have a widget implementation to handle touch events, it does stop further propagation and emits the pressed/released signal for further consumption [1]. We will not get a button-press/button-release event for a touch event in this case. The default behaviour for widgets e.g. a TreeView is to transform the touch events into pointer events [2], for those widgets we do get a button-press/button-release event for a touch events. [1] http://git.gnome.org/browse/gtk+/tree/gtk/gtkbutton.c#n1809 [2] http://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n5876 Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org> |
12 years ago | |
---|---|---|
.. | ||
Makefile.am | 12 years ago | |
__init__.py | 13 years ago | |
alert.py | 12 years ago | |
animator.py | 13 years ago | |
colorbutton.py | 12 years ago | |
combobox.py | 13 years ago | |
icon.py | 12 years ago | |
iconentry.py | 12 years ago | |
menuitem.py | 12 years ago | |
notebook.py | 13 years ago | |
objectchooser.py | 12 years ago | |
palette.py | 12 years ago | |
palettegroup.py | 13 years ago | |
palettemenuitem.py | 12 years ago | |
palettewindow.py | 12 years ago | |
panel.py | 13 years ago | |
radiopalette.py | 12 years ago | |
radiotoolbutton.py | 12 years ago | |
style.py | 13 years ago | |
toggletoolbutton.py | 12 years ago | |
toolbarbox.py | 12 years ago | |
toolbox.py | 13 years ago | |
toolbutton.py | 12 years ago | |
toolcombobox.py | 13 years ago | |
tray.py | 12 years ago | |
window.py | 12 years ago | |
xocolor.py | 13 years ago |