-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zhu, Peter J wrote:
> I'm having problems with mouse click processing of GtkTreeView. I would
> like to have different callback to single click and double click. But
> once I connect singal to button-press-event, no "row-activated" signal
> is received. 

I would guess your "button-press-event"-handler returns TRUE. For most
Gdk/Gtk+ signals, returning TRUE means that the event has been handled,
and it's emission is stopped -- thus it never reaches the handler in
GtkTreeView. Try returning FALSE. ;)

- --
Santtu Lakkala
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFG6jQEX9Rc0+po4p0RAtAMAJsEuNd8k7X/gbioT3XOgjScJqFUJQCfc2Eq
782EgwHiuTHQbX8pfgfJucE=
=O2Gv
-----END PGP SIGNATURE-----
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to