[Gtk-sharp-list] CreateFromXpm compile error?

Joeri Belis joeri.belis at nollekens.be
Fri Oct 7 06:01:36 EDT 2005


Any idea why this line of code gives this error?

   string[] xpm = { "fsdf","sdfs" };

    Window w = new Window ("Gtk#");
    Gdk.Pixmap p;
    p = Gdk.Pixmap.CreateFromXpm(w.GdkWindow,xpm);


joeri at 1[even]$ mcs Main.cs -pkg:gtk-sharp
Main.cs(139) error CS1501: No overload for method `CreateFromXpm' takes `2'
arguments
Compilation failed: 1 error(s), 0 warnings

I thougth this was a valid overload.



More information about the Gtk-sharp-list mailing list