Re: Pictureproblem
- From: Nix <nix go-nix ca>
- To: Christian Schneider <christian_schneider_2000 yahoo de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Pictureproblem
- Date: Sun, 09 Nov 2003 22:51:24 -0700
On Sun, 2003-11-09 at 04:54, Christian Schneider wrote:
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.
Try gdk_flush () .
Plus, you shouldn't be using sleep. Use gtk_timeout_add ().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]