The 'cursor-changed' works very well... Unfortunately the GTK and Glib tutorials are so poor and don't explain in easy words what we want to know! Look at 'cursor-changed' topic:
void user_function (GtkTreeView *treeview, gpointer user_data); treeview: the object which received the signal. user_data: user data set when the signal handler was connected. The ctree had a better tutorial and was easyer to use than TreeView... I think cause of that there is a lot of questions about TreeView in this mail list! Thanks, On 5/3/05, Vivien Malerba <[EMAIL PROTECTED]> wrote: > On 5/3/05, John Coppens <[EMAIL PROTECTED]> wrote: > > On Tue, 3 May 2005 10:11:49 -0400 > > André Pedralho <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to use the single click on a GtkTreeView. Is there a way > > > for me? The row-activated signal is activated with a double click... > > > I'm needind one that is launched with just one click! > > > > Check 'cursor_changed' - that's normally the one you want. > > > > There is also as a last possibility the GtkWidget's "event" signal. > > Vivien > -- André Pedralho Bachelor in Computer Science Instituto Nokia de Tecnologia _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
