[maemo-developers] Aw: Re: Fremantle user interface behaviour and API
From: Cornelius Hald hald at icandy.deDate: Tue May 19 23:10:03 EEST 2009
- Previous message: Aw: Re: Fremantle user interface behaviour and API
- Next message: Aw: Re: Fremantle user interface behaviour and API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2009-05-19 at 16:48 +0100, David Greaves wrote: > Cornelius Hald wrote: > > Thanks to Claudio and API almost all my questions have been answered and > > the Fremantle version of Conboy is looking better then ever :) > > > > There is (for now) only one question left: > > When using HildonTextView inside a PanableArea panning is working fine, > > but I can no longer select text. Are those two mutual exclusive? > > FWIW, I managed to implement this quite easily for Qt so I'm sure it's do-able > in gtk too. > > The trick I used is to create a queue of mouse events until I could determine > whether or not the incoming gesture was a panning gesture. If it was the queue > was discarded; if not the events were replayed to the correct widgets. > > The decision was simply delta mouse movement within a time period. > > This allowed selection and even drag'n'drop to "just work". That sounds nice, but I was more hoping for a out-of-the-box solution. I think this use-case is quite common - it's just a scrollable (ok panable) text view. So doing like you did I would consider as last resort. Anyways, thanks for explaining your solution :)
- Previous message: Aw: Re: Fremantle user interface behaviour and API
- Next message: Aw: Re: Fremantle user interface behaviour and API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]