Get
June 19th, 2005, 04:57 AM
Hi!
I try to inheritance a ListStore inte my own class. I found out that I need to set the Columntypes with the SetColumnTypes function, but when I do that, I get error about "No overload for method `SetColumnTypes' takes `2' arguments(CS1501)". What have I made wrong?
using Gtk;
using System;
using GLib;
public class WordList : Gtk.ListStore {
/* Some code */
public WordList (string language1, string language2)
{
SetColumnTypes(typeof(string), typeof(string));
}
/*Some more code */
}
I try to inheritance a ListStore inte my own class. I found out that I need to set the Columntypes with the SetColumnTypes function, but when I do that, I get error about "No overload for method `SetColumnTypes' takes `2' arguments(CS1501)". What have I made wrong?
using Gtk;
using System;
using GLib;
public class WordList : Gtk.ListStore {
/* Some code */
public WordList (string language1, string language2)
{
SetColumnTypes(typeof(string), typeof(string));
}
/*Some more code */
}