How to find out when the user moves a row

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

 



Hi

I use a GtkListStore and a GtkTreeView to show a list. I have enabled
that the user may rearrange the rows by dragging them. My problem is
that I want to find out which row is dragged and to where it is dropped.
I thought the "rows_reordered" signal would give me this, but when I
hook up the callback it is never called when I change the ordered. Just
to test I changed the signal to "row_changed" and then the callback gets
called but of course it doesn't work as it was coded for the
"rows_reordered" signal.

Does anybody know if one have to set an event to get the
"rows_reordered" signal to work? Or do anybody have a working example of
how to do this?

Thanks in advance

Preben
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux