[Gtk-sharp-list] ListStore and RowsReordered

Jörgen Lidholm jlm01001@student.mdh.se
Tue, 20 Apr 2004 20:23:45 +0200


Hi.

I'm trying to make it possible reordering rows in a Gtk.TreeView.

The problem is I don't get an event when reordering the rows.
This is what I've done:

tview is a TreeView created with glade.

<code>
ListStore tstore = new ListStore (typeof (int), typeof (string));
tview.Model = tstore;
tstore.RowsReordered += new RowsReorderedHandler (on_rows_reordered);
tview.Reorderable = true;

private void on_rows_reordered (object o, RowsReorderedArgs args)
{
...
}
</code>

As I said earlier, I don't get this event! At least it seams so.
Am I missing something?
Is there any way to check/view all events emitted?

Regards Jorgen.

--
Jörgen Lidholm
jlm01001(at)student(dot)mdh(dot)se