[maemo-developers] GtkTreeView issue

From: Lauro Moura lauro.neto at indt.org.br
Date: Mon Jun 11 20:45:13 EEST 2007
ext Matt Clark wrote:
> I thought before I submit a bug I'd see if anyone can point out where  
> I'm going wrong.  My problem is that in an app I'm developing I'm not  
> getting row-activated signals from a GtkTreeView under pygtk on an  
> N800, but they work fine under pygtk elsewhere (e.g. Ubuntu Feisty  
> (python 2.5.1), or OS X/Fink (python 2.4.2)).  The N800 is latest  
> firmware with no changes except the addition of the latest osso- 
> xterm, python2.5-runtime and dropbear.
> 

Hi Matt, I tried your code and a version in C (attached), which has the 
same problem.

Looking into the Maemo Gtk2.6 Contributions page at lgo[1], there's the 
following comments about the GtkTreeView:

gtktreeview.c - (!) - M58 - Tap on row activates, for multiple selection 
all selected rows all activated (can be done outside of tree view).
gtktreeview.c - (!) - M58 - Double click handling code (in button_press) 
commented out, should be uncommented.

By the legend, the "(!)" symbol indicates change needed on maemo-gtk/glib.

The M58 is one of the changes from MaemoGtk to the api provided by Gtk+ 
2.10 [2]. It's about changes on the GtkTreeView that could be 
implemented outside Gtk+, including row-activation.

So, according to those items, the double-click code (which triggers the 
row-activated on desktop) is commented out and to activate the row would 
be necessary just a tap, but it isn't working.

[1] http://live.gnome.org/Maemo/Gtk26Contributions
[2] http://live.gnome.org/Maemo/Gtk210Migration#M58

--
Lauro Moura
INdT - Recife
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 2147 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070611/26fbd048/attachment.c 
More information about the maemo-developers mailing list