Re: gtk.events_pending() freezes when I think it is TRUE



Brian wrote:
I am working on a python app that  (currently) is using a dialog box
that retrieves output from a forked application.  Most of the display is
fine until there is rapid text deletion and insertion emulating a
terminal screen output where the subprocess is sending a carriage return
without a linefeed, or rapid char insertion/backspace...

This problem has persisted thru 2 python versions and a recent gnome
update, although pygtk remains the same.

Anyone have any similatr problems or solutions?  Is this a pygtk bug? Or
am I just doing something wrong?

In using straight gtk2 (not python) with threads, lockups happen if one
too-many gtk_thread_enter()/leave() regions are called, such as from the
main thread. Wherever there's a gtk_thread_enter(), i'd call a function
to check that it's not called too many times.



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