Re: GTK2: no images are displayed
- From: "Norbert Bauer" <dasaspock gmx de>
- To: gtk-app-devel-list gnome org
- Subject: Re: GTK2: no images are displayed
- Date: Thu, 23 Feb 2006 16:39:53 +0100 (MET)
Thank you for your hint! Yes, I made a very basic programm.
I posted an extract of my code to:
http://pastebin.com/568620
The commented block of 5 lines in the code was used to find out more about
the problem and is not really part of the code. In this code, the image ist
to be put on a button. But also if I put it directly in a box on the
mainwidget this makes no difference.
Hope anyone can help...
netnobbi
On Thu, 23 Feb 2006 09:55:27 -0500, Gravis Zero wrote:
not to be unhelpful or anything but have you made a very basic demo? if
it still doesnt work, please post it on something like pastebin.com
also, what kind of widget are you using to display the pixbuf? is it a
GtkImage?
Gravis
On Thu, 2006-02-23 at 15:31 +0100, Norbert Bauer wrote:
Hi!
I'm using (the first time) GTK2 to build a GUI application under
windows.
Up to now everything worked fine. But now I have a problem:
Im using the function gdk_pixbuf_new_from_file to generate a
gdk-pixbuf. The program compiles and runs, but no images are displayed.
It simply doesn't work.
When I have a look at the delivered GError I get an error of the domain
"GDK_PIXBUF_ERROR", Code 3 (which means GDK_PIXBUF_ERROR_UNKNOWN_TYPE).
It absolutely doesn't matter what kind of Image I try to load (jpg,
bmp, xpm, tif). It never works.
I think, I also have installed all necessary libs. Other GTK-based
programs (e. g. the gimp) work fine on this computer.
If anyone has a hint or an idea, I'd be very happy! Thanks in advance,
netnobbi
--
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]