On Dec 30, 2007 6:01 PM, Paul Bourke <[EMAIL PROTECTED]> wrote:
...
> System.InvalidCastException: Cannot cast from source type to destination type.
>   at GRapid.MainWindow.RenderURLColumn (Gtk.TreeViewColumn column,
...
> TreeStore myTreeStore = new TreeStore (typeof(string), typeof (MyClass));
...
The two store columns have type string and MyClass,

>     DownloadItem d = (DownloadItem) model.GetValue (iter, 0);

but you're trying to cast the string to a DownloadItem.

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to