Active Topics

 


Reply
Thread Tools
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#1
Hi.

I'm trying to port Advoid ( Hostfile based add blocking ) to Maemo 5. When I change a listview from a scrolled window to a pannable area I cant seem to register a selection.

Does anyone know how to do this? - is it possible at all ??

I've tried searching google and the maemo docs - cant seem to find any info. It seems a bit daft to allow a list/treeview in a pannable area and then not be able to register a selection.

Rick
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#2
Hi,

If I'm understanding you correctly, then you need to use a hildon treeview instead of a gtk one:

treeview = hildon.GtkTreeView(gtk.HILDON_UI_MODE_EDIT)

The parameter will allow selections to stay selected.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 

The Following User Says Thank You to BrentDC For This Useful Post:
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#3
Originally Posted by BrentDC View Post
Hi,

If I'm understanding you correctly, then you need to use a hildon treeview instead of a gtk one:

treeview = hildon.GtkTreeView(gtk.HILDON_UI_MODE_EDIT)

The parameter will allow selections to stay selected.
Thanks Brent. That did it
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 
Reply


 
Forum Jump


All times are GMT. The time now is 00:03.