Re: GTK high speed interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux