[Portland] Project Portland, RuDI and the Generic desktop adapter
Lars Knoll
lars at trolltech.com
Fri Dec 9 22:55:49 EET 2005
On Friday 09 December 2005 16:44, Jon K Hellan wrote:
> On Fri, 2005-12-09 at 13:07 +0100, Lars Knoll wrote:
> > It can be done with Qt and Gtk. I'm not so sure about Xt.
>
> If you mean "can I port an Xt app to use a unified main loop rather than
> Xt's own", I'm pretty sure you can. The Xt main loop listens to Xserver
> events and file input by polling with select(), keeps a queue of
> scheduled timeouts, and does idle tasks when it has nothing else to do.
> The glib main loop supports all of these, and I'm sure Qt's is just as
> rich.
Yes, I'm sure you can implement a new main loop for Xt. The thing I wasn't
sure about it whether it can be done in a binary compatible way. This depends
a lot on how much of the event loop internals Xt exports.
Lars
More information about the Portland
mailing list