[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to stop this loop that was initiated by a buttonclick?
- From: Bart Vandewoestyne <Bart Vandewoestyne skynet be>
- To: gtk-app-devel-list redhat com
- Subject: Re: How to stop this loop that was initiated by a buttonclick?
- Date: Wed, 16 Feb 2000 02:08:26 +0100
"Christopher T. Lansdown" wrote:
>
> Add
while(gtk_events_pending())gtk_main_iteration();
> to your infinite
> loop at some point when you can afford to process events (like redrawing the
> screen, button clicks, etc.)
Could someone explain me exacly how these functions work? I have looked
in the GTK+ reference but it isn't documented :-(
I'm quite a novice to GTK and i don't wanna use code that i don't
understand. Someone also told me to use
gtk_main_iteration_do(FALSE);
What is the difference with the first solution?
Tnx.
MC303
--
Bart Vandewoestyne http://hello.to/MC303
Hugo Verrieststraat 48 Bart.Vandewoestyne@skynet.be
8550 ZWEVEGEM ICQ# 21275340
BELGIUM - EUROPE nick: MC303
Phone: +32(0)56/75.48.11
-------------------------------------------------------------
"If we knew what it was we were doing, it would not
be called research, would it?"
-- Albert Einstein --
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]