Re: Image Loading Problem on Windows Box
- From: Rick Jones <rick jones2 hp com>
- To: Gavin Keighren <s9901726 sms ed ac uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Image Loading Problem on Windows Box
- Date: Tue, 24 Jul 2007 14:32:03 -0700
The code which should load the file is:
GtkPixbuf * logoBuffer = gdk_pixbuf_new_from_file("images/logo.jpg",
NULL);
although the following also does not work (a broken image graphic is
displayed):
GtkWidget * logo = gtk_image_new_from_file("images/logo.jpg");
naive question showing my ignorance and not having read all the docs - do those
two calls "fix-up" the '/' vs '\' issues one has between Unix and Windows?
rick jones
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]