On 05/20/2010 09:09 AM, fpiraneo wrote: >> The documentation should be corrected. Since TreeIter is a struct, null >> cannot be converted to TreeIter. Use TreeIter.Zero instead. > > Yes... I did it but this is the result: > > " Gtk-CRITICAL **: gtk_list_store_move_after: assertion `VALID_ITER > (position, store)' failed" > > The source iter is valid...
Hrm, it looks like Gtk# does not expose a way to do this. The C function takes pointers to GtkTreeIter structures, and since the corresponding C# type has been mapped as a struct, there is no way to pass in a null value. Looks like an API bug. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers If you correspond with me on a regular basis, please read this document: http://www.chrishowie.com/email-preferences/ PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5 ------------------------------------------------------------------------ IMPORTANT INFORMATION/DISCLAIMER This document should be read only by those persons to whom it is addressed. If you have received this message it was obviously addressed to you and therefore you can read it. Additionally, by sending an email to ANY of my addresses you are agreeing that I am, by definition, "the intended recipient," and that I may do whatever I wish with the contents of any message you send me, unless a pre-existing agreement prohibits me from so doing. This overrides any disclaimer or statement of confidentiality that may be included on your message. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
