Re: double click event in a tree view
- From: paolo borelli <pborelli katamail com>
- To: Olexiy Avramchenko <olexiy irtech cn ua>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: double click event in a tree view
- Date: 29 Apr 2003 21:48:28 +0200
On Tue, 2003-04-29 at 19:27, Olexiy Avramchenko wrote:
Hello,
"button-press-event" expects callback that returns gboolean value
(FALSE: continue signal emission, TRUE: stop it). Your callback has
'void' return type - so you'll get random result (in most cases: TRUE).
NOTE: *all signals* with names like "*event" expects *gboolean* return
value from callback.
Olexiy
Thanks a lot for the suggestion... actually it wasn't my mistake ;)
since the void callback was copied from the code which used the CList
which I'm porting to GtkTreeView.
Anyway the "row-activated" signal suggested by another guy is even
better for my purposes.
Thanks again.
paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]