texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Two fixes for delayed execution


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] Two fixes for delayed execution
Date: Wed, 14 Oct 2009 23:50:24 +0200
User-agent: Mutt/1.5.9i

On Wed, Oct 14, 2009 at 05:27:03PM +0100, Norbert Nemec wrote:
> Gubinelli Massimiliano wrote:
> >Proprer implementation of check_event require knowing if there are 
> >pending key events in the queue and this is not possible in Qt (or 
> >even in Cocoa). Moderns GUI API explicitly discurage looking at the 
> >event queue so we should design a different mechanism to reimplement 
> >what it is currently done in the X11 port.
> 
> Indeed. I guess a proper approach on Qt would be to use processEvents 
> frequently during drawing. This does not work with the check_event gui 
> interface, but the necessary change in the interface should be minimal.

Can this indeed be done? Max told me that somethings are also disallowed
during the painting phase in Qt. Can we process events during drawing,
or should we first return to the main loop? Long live old-fashioned GUI API's...

--Joris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]