[Mono-devel-list] Mono, Gtk#, ListStore and RowsReordered
Jörgen Lidholm
jlm01001 at student.mdh.se
Wed Apr 21 07:53:07 EDT 2004
Hello, I've sent this message to the Gtk# list but nobody has
answered yet. I thought maybe one of you might know the answer.
I really don't know if this problem is related to Gtk# or the
mono system library... Please enlighten me! ;-)
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
More information about the Mono-devel-list
mailing list