Re: rows_reordered signal trouble?



On Wed, 2003-09-24 at 19:46, Jeff Mock wrote:
I don't seem to be able to get a rows_reordered signal from a 
Gtk2::ListStore.

That signal is only fired when you use gtk_list_store_reorder,
gtk_list_store_swap, gtk_list_store_move or gtk_list_store_sort - not
when the user reorders rows.

I don't know why it is like it is but it is like it is, is it not?

Seriously: The only way I currently see is to use a data func to do your
recalculations. See

http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-insert-column-with-data-func

HTH,
-Torsten




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