Re: Problems with pixmaps - The Answer :-)
"pmaciolek1981" <[email protected]>
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello ! --- In gimpwin-dev@y..., Przemyslaw M. Maciolek <pmaciolek@o...> wrote: > > 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 ? I found what I was doing wrong. lib/gtk-2.0/2.0.0/loaders was missing... Sorry for bothering you. :-) Pozdrawiam, Przemek _______________________ mailto:przemek@p... 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.