Re: Multitouch review 2: press-and-hold
- From: Benjamin Otte <otte gnome org>
- To: gtk-devel-list gnome org
- Subject: Re: Multitouch review 2: press-and-hold
- Date: Wed, 1 Feb 2012 01:24:15 +0000 (UTC)
Matthias Clasen <matthias.clasen <at> gmail.com> writes:
> - This is almost convenience api - except for the interaction with
> event capture, every widget could do this itself with a timeout and a
> handrolled animation. But having this supported consistently across
> the desktop seems well worth it. The branch add press-and-hold support
> for the context menus in entries, labels and textviews.
>
gtk_long_press_event_controller_new ();
If we indeed want to move to event controllers, this doesn't belong into
GtkWidget at all.
Benjamin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]