Re: GTK high speed interface
- From: Maciej Katafiasz <ml mathrick org>
- To: Tim McCoy <tmccoy hotPOP com>
- Cc: gtk-list gnome org
- Subject: Re: GTK high speed interface
- Date: Fri, 29 Apr 2005 07:32:44 +0200
Dnia 29-04-2005, pią o godzinie 09:14 +1000, Tim McCoy napisał:
> If I "single step" my emulator, then each of the register values are
> displayed in the appropriate field. However, if I run the emulator (for
> some 130,000 cycles, each cycle with a callback to place text in the
> entry fields), then no text is written to the entry elements until the
> entire program is finished. The interface itself appears to lock up, but
> I (partially) understand the reasons for this.
[snip]
GUI won't get updated until you return to GTK+ main loop. To remedy
that, you want to use gtk_events_pending (). See docs at
http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#id2755523
they have snippet to put in your code.
Cheers,
Maciej
--
Maciej Katafiasz <ml mathrick org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]