Re: Multitouch review 2: press-and-hold



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]