Re: trouble with gtk idle function callback
- From: Havoc Pennington <hp redhat com>
- To: Eric Smith <eric brouhaha com>
- Cc: gtk-list gnome org
- Subject: Re: trouble with gtk idle function callback
- Date: 16 Jul 2001 09:31:32 -0400
Eric Smith <eric brouhaha com> writes:
> In my Alto simulator, I've now implemented a crude "execution" menu
> with step and go items, etc. Previously I reported that the idle
> function not being called after it was installed (in an input
> callback) until an event is processed. Now I've confirmed that the
> same thing happens if I install the idle handler in a menu item
> callback.
>
> Is there any simple (or preferred) way to post a do-nothing event?
>
I really think the idle function should be called. This is perhaps
a bug in the main loop, so maybe file a bugzilla.gnome.org report.
In the meantime, maybe a timeout function with a very short interval
would either replace the idle, or maybe you can run the timeout one
time (return FALSE from the timeout function) in order to wake up the
loop and get your idle started.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]