[Glade-users] GtkTreeView - row select event?
- From: Remi Cohen-Scali com (Rémi Cohen-Scali)
- Subject: [Glade-users] GtkTreeView - row select event?
- Date: Thu, 07 Aug 2003 22:26:54 +0200
Get the GtkTreeSelection object on your treeview
(gtk_tree_view_get_selection) then listen for
"changed" events
g_signal_connect (G_OBJECT (selection), "changed", G_CALLBACK
(selection_changed_cb), data)
with callback signature
static void
selection_changed_cb (GtkTreeSelection *selection, gpointer data)
John Coppens wrote:
Hello people.
I'm getting my feet wet with the GtkTreeStore & friends, and was looking
for a way to get an event each time the user selects another item in the
treeview.
The row-activate requires a double click, I'm not happy about that. Is
there a way to get events with just selecting? Like the row-selected event
in the old gtk 1.xx CList? Is it necessary to hang events to each iter?
Can someone give me a hint where to start looking?
Thanks
John
_______________________________________________
Glade-users maillist - Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]