But I'm using gtk# 2.4! These are the packages i'm using (Debian, but
also I've tryied compiling from sources):
ii gtk-sharp2 2.4.0-0pre1 Gtk# 2.4 suite, CLI bindings for GTK+ and
GNOM
ii libgtk2.0-cil 2.4.0-0pre1 CLI binding for the GTK+ toolkit 2.4
The definition in Monodoc for
Gtk.Image.SetFromPixmap (Gdk.Pixmap pixmap, Gdk.Pixmap mask)
http://www.go-mono.com/docs/[EMAIL PROTECTED]
disagrees with what gtk# 2.4 really expects for (a mask of type Gdk.Bitmap).
Dan Winship wrote:
Mariano Benedettini wrote:
Can you point me in the direction of a solution for this problem?:
test1.cs(92,6): error CS1502: The best overloaded method match for
`Gtk.Image.SetFromPixmap(Gdk.Pixmap, Gdk.Bitmap)' has some invalid
arguments
test1.cs(92,6): error CS1503: Argument 2: Cannot convert from
`Gdk.Pixmap' to `Gdk.Bitmap'
Compilation failed: 2 error(s), 0 warnings
Oh. Upgrade to gtk# 2.4. Anything use GdkBitmap is broken and unusable
in gtk# 1.0.
-- Dan
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list