[maemo-developers] Fremantle treeview handling

From: Till Harbaum lists at harbaum.org
Date: Tue Aug 11 09:45:34 EEST 2009
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090811/2b51b982/attachment.htm 
-------------- next part --------------
Hi,

i an still migrating some of my osm2go ui to fremantle style. I am currently
working on all those treelists i am using. When placed inside a pannable
area, a single click on a treeview item activates this immediately (instead
of just selecting as it does inside a scrolled window). Programs like
modest use the tap_and_hold feature to create some popup to modify
(e.g. delete) a treeview entry. I am now trying to do the same but run into
two problems:

- The treeview item gets de-selected immediately before the popup
appears. Thus there's nothing selected in the treeview anymore once
the popup is visible and thus the popup doesn't know what treeview
entry is to be processed. Modest doesn't seem to have that problem.
The item stays selected (highlighted) there while the popup is visible.

- The popup causes the rest of the screen to be "blurred away". This
is nice, but for some reason only works if the treeview is placed in
the main window. If it's placed in a dialog, the dialog doesn't get
blurred. How comes?

I have a attached a demo that shows both issues. I especially need
a solution for the first problem.

Thanks, 
  Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fremantle_popup.c
Type: text/x-csrc
Size: 4426 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20090811/2b51b982/attachment.c 
More information about the maemo-developers mailing list