Re: GDK/Cairo question



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]