Re: Screen updates while long time running subroutine
- From: Paul Davis <pbd Op Net>
- To: pzn terra com br
- Cc: gtk-list gnome org
- Subject: Re: Screen updates while long time running subroutine
- Date: Mon, 16 Jul 2001 15:06:44 -0400
> I have a routine that makes a lot of math stuff and takes about 60 seconds
>to run.
> While this routine is running, the Gtk program seems staled. It doesn't res
>pond to resizes and if I change the focus to another program and go back to it
>, it's window keeps all grey and just redraws at the end of the routine.
> Is there any function that I can put inside my loops in this routines that
>forces a redraw/resize if the user is trying to do it?
Read the FAQ at www.gtk.org. This will also answer your question about
a timeout function. If not, see the tutorial in the documentation
section of the same web site.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]