[Gtk-sharp-list] Gdk.Pixbuf.RenderPixmapAndMask question

Dan Winship danw at novell.com
Mon Nov 28 15:29:40 EST 2005


Mariano Benedettini wrote:
> But I'm using gtk# 2.4!
...
> The definition in Monodoc for
> 
> Gtk.Image.SetFromPixmap (Gdk.Pixmap pixmap, Gdk.Pixmap mask)
> http://www.go-mono.com/docs/monodoc.ashx?tlink=5@ecma%3a947%23Image%2fM%2f3
> 
> disagrees with what gtk# 2.4 really expects for (a mask of type 
> Gdk.Bitmap).

The documentation is correct. Are you sure you don't have both gtk# 1.0 
and 2.4 installed? If you're using pkg-config or "mcs -pkg:", you need 
to ask for gtk-sharp-2.0, not gtk-sharp.

-- Dan



More information about the Gtk-sharp-list mailing list