On 03-08-17 21:56, Johnson Jones wrote:
If I do something likeimport gdkpixbuf.Pixbuf; Pixbuf.newFromResource("C:\\a.jpg");
There are two issues here, you need to properly escape the slash: "C:\\\\a.jpg".
And a.jpg is not a resource file, so you would use the Pixbuf constuctor to load an image file.
``` Pixbuf p = new Pixbuf(r"C:\\a.jpg"); ``` -- Mike Wey