Re: GDK/Cairo question
- From: "Miroslav Rajcic" <rajcic sokrates hr>
- To: <gtk-app-devel-list gnome org>
- Subject: Re: GDK/Cairo question
- Date: Wed, 18 May 2011 12:50:19 +0200
The source compiles fine and the application runs, but instead of
displaying the PNG file, it only shows a black square with no apparent
content.
Please help me, what am I missing or doing wrong?
You are running the program within an loop that does not process GTK events.
You need to add a call like gtk_main_iteration_do() within your while loop.
Regards,
Miroslav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]