[maemo-developers] Questions about HildonPannableArea
From: Alejandro Garcia Castro acastro at igalia.comDate: Wed Jun 3 11:05:01 EEST 2009
- Previous message: Questions about HildonPannableArea
- Next message: Questions about HildonPannableArea
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jun 02, 2009 at 09:54:17PM +0200, Cornelius Hald wrote: > On Tue, 2009-06-02 at 20:47 +0200, Till Harbaum / Lists wrote: > > But i have a problem with certain widgets inside the area. GtkTextAreas > > don't work well since they use the screen tap for markup. Setting them > > insensitive works, but also makes them visibly insensitive (read: black > > letters on very dark ground). What's the correct way to configure > > a GtkTextView to be placed inside a HildonPannableArea? > > You can use HildonTextView inside the HildonPannableArea. It works > mostly as expected only you loose the possibility to select text with > finger/stylus/mouse. > Yep, using the HildonTextView is the best option if it is suitable for your problem because that widget is prepared to avoid selection, recall currently you can not activate selection in the textview (Cornelius added a bug wrt that [1]). If you want to use any other text widget you can also disable selection to reserve the gesture for the panning. Or disable panning if you want to use the selection (enabled property of pannable). > With GtkHtml I don't know how to fix it. > Currently the gtkhtml panning support is causing problems if you add it to the pannable area, the proposal is to disable the gtkhtml panning. br [1] https://bugs.maemo.org/show_bug.cgi?id=4619
- Previous message: Questions about HildonPannableArea
- Next message: Questions about HildonPannableArea
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]