Re: [gtk-list] Re: Q: automatic function on program startup
- From: Tim Janik <Tim Janik Hamburg Netsurf DE>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Q: automatic function on program startup
- Date: Tue, 23 Dec 1997 00:40:26 +0100 (CET)
On Sun, 21 Dec 1997, Kenneth Albanowski wrote:
> On Mon, 22 Dec 1997 csmall@scooter.o.i.net wrote:
>
> As I mentioned earlier, I've had some success with:
>
> do {
> gtk_main_iteration();
> } while (gdk_events_pending());
>
as gtk_main() recursion has been implemented properly by now,
you should really use recursive gtk_main()/gtk_main_quit() calls.
> as a "yield" function. This programming model might not be the best suited
> for X (or other environments), but it is the simplest possible
> co-processing model, and very convenient for displaying a progress
> indicator.
> Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]