[maemo-developers] Why is always one textview item selected in HILDON_UI_MODE_EDIT?

From: Alberto Garcia agarcia at igalia.com
Date: Fri Dec 18 14:19:43 EET 2009
On Fri, Dec 18, 2009 at 12:45:47PM +0100, Till Harbaum wrote:

> i have a simple treeview inside a pannable area. What i want to
> achieve is basically simple:  I want the user to be able to select
> one item and that item should stay selected until the user selects a
> different item. Initially nothing should be selected.

Doesn't that work? That's what GTK_SELECTION_BROWSE is for.

See hildon-touch-selector-normal-mode-example.c

http://maemo.gitorious.org/hildon/hildon/blobs/master/examples/hildon-touch-selector-normal-mode-example.c

Berto
More information about the maemo-developers mailing list