[Gtk-sharp-list] Connecting to the RowsReordered event (ListStore)
halol
halol at free.fr
Wed Jul 27 02:28:43 EDT 2005
hi,
I am new on this mailing list. I hope that in time I will be able to
contribute a little bit, but
rigth now, I have 2 questions:
* is there a way to search the mailing list archives (without opening each
monthly archive one
after the other)?
* I would like to catch the RowsReordered event on a ListStore and I did
the following:
ListStore store = new ListStore(typeof(string));
...
store.RowsReordered += new RowsReorderedHandler(OnRowsReordered);
OnRowsReordered() is defined like this:
void OnRowsReordered(object o, RowsReorderedArgs args) {
System.Console.WriteLine("reordered");
}
But when the rows are reordered, I get the following error (on mono 1.1.7,
gtk# 1.9.5):
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an
object
in <0x00116> Gtk.ListStore:RowsReorderedSignalCallback (IntPtr arg0,
IntPtr arg1, Gtk.TreeIter
arg2, System.Int32 arg3, IntPtr gch)
in (wrapper native-to-managed) Gtk.ListStore:RowsReorderedSignalCallback
(intptr,intptr,Gtk.TreeIter&,int&,intptr)
Any idea about what could be the problem?
Thx.
More information about the Gtk-sharp-list
mailing list