Re: GtkTreeView Selection Changed Signal?



You need to get the GtkTreeSelection from the GtkTreeView
(gtk_tree_view_get_selection), which then allows you to connect to the
'changed' signal.

On Thu, 28 Aug 2003, Jared Krinke wrote:

Hi, I've searched the Internet and the mailing list archives and could
not find an answer, so here goes...

I have a GtkTreeView that is using GTK_SELECTION_MULTIPLE for multiple
selection. I can't find what signal will tell me when the selection has
changed. "cursor_changed" tells me when the user clicks on a single
entry in the list. After that, when I ctrl+click on another item (to add
to my selection) no "cursor_changed" signal is emitted.

So what signal is emitted when a user adds to a multiple selection in a
GtkTreeView? I've tried almost all the ones set up in Glade and none of
them do anything except for "cursor_changed," which itself does not have
the desired effect.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]