Problems with pixmaps
Przemyslaw M. Maciolek <[email protected]>
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello ! I have encountered problem in porting my application to gtk-win32 (gtk-2.0.6). Application was made using glade-2, and everything was just fine under linux. But under Windows, I lost mine pixmaps. Gtk-pixmaps are fine (like _Quit, _Add and so on), but pixmaps I have made (in .xpm and .png format) are gone... I've attached to Makefile libpng and libXpm libraries, but it changed nothing. :-( Still no pixmaps. I've been looking at code, and, what's interesting, all pixmaps are being opened, and pointers to them are not "NULL". The problem is in putting them. I.e: image12 = create_pixmap (window1, "logo.png"); <-- everything seems fine, file is being opened, pointer is not null.... gtk_widget_show (image12); gtk_fixed_put (GTK_FIXED (fixed12), image12, 144, 160); <-- i got no image, just little icon showing sheet of paper with "x" :-/ gtk_widget_set_usize (image12, 180, 183); Did anybody encountered such problems with pixmaps ? Any clues ? ____________ Pozdrawiam, Przemek _______________________ mailto:[email protected] http://pakero.salwator.net/~pakero Nuclear powered vacuuum cleaners will probably be a reality within 10 years. -- Alex Lewyt (President of the Lewyt Corporation, manufacturers of vacuum cleaners), quoted in The New York Times, June 10, 1955. To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/