Pictureproblem



Hallo,

in my application I want to show a picture in a
drawing area. So I created a function void
pixbufindrawingareadarstellung (...)
This function can I use without problems.

Now I want to show another picture in the same drawing
area after some seconds. I modified my code:

gboolean drawingarea_expose_event (...)
{
...
pixbufdrawingareadarstellung (..., picture1, ...);
sleep (3000);
pixbufdrawingareadarstellung (..., picture2, ...);
...
}

But if I start my program I will only see picture2
after 3 seconds.
I think I know why this occur. But I don't know how to
solve my problem.

Do you have a solution for my problem (perhaps a
little a example)?

Regards

Christian Schneider

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]