Hi all,
maybe someone can give me a short hint. I am new to GTK programming and
currently I am playing around with the basic functions. in the
following example,
what do I have to assign to the pixbuf variable to avoid the
"dest_pixbuf != NULL' failed" error ?
code example:
using System;
using Gtk;
public class PicChanger
{
private Gdk.Pixbuf pixbuf;
//----------------------------------------------------------------------------------------------
public PicChanger(string filename)
{
Console.WriteLine(filename);
Gdk.Pixbuf tempPixbuf = new Gdk.Pixbuf(filename);
tempPixbuf.CopyArea(100,100,50,50,pixbuf,0,0);
}
//----------------------------------------------------------------------------------------------
public Gdk.Pixbuf Pixbuf
{
get
{
return pixbuf;
}
}
}
thanks a lot in advance.
br
alex
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list