Re: Longstanding bug in ... XtAppMainLoop?

2011-02-24 Thread walter harms
Hello, when starting a Xt-Application you should use XtOpenApplication() or XtAppInitialize() they will call XOpenDisplay(). I read the paper but i am not sure is the programm without display of any use ? or is it a sample that simply shows the limitation of the model ? I am not deeply in Xt an

Re: Longstanding bug in ... XtAppMainLoop?

2011-02-24 Thread Jordan Hayes
when do application do not have a display ? Xt is also a powerful general purpose environment for event-driven programming. Input events, timers, now signals ... all handled pretty well. Originally the big drawback was that XtAppMainLoop would *never* return, but this ExitFlag stuff appears

Re: Longstanding bug in ... XtAppMainLoop?

2011-02-24 Thread walter harms
this sounds reasonable, but when do application do not have a display ? re, wh Am 24.02.2011 00:09, schrieb Jordan Hayes: > The manual page for XtAppMainLoop says that it's just a simple loop that > calls > > XEvent event; > XtAppNextEvent(app, &event); > XtDispatchEvent(&event); > > ... unti

Longstanding bug in ... XtAppMainLoop?

2011-02-23 Thread Jordan Hayes
The manual page for XtAppMainLoop says that it's just a simple loop that calls XEvent event; XtAppNextEvent(app, &event); XtDispatchEvent(&event); ... until XtAppGetExitFlag() returns true. And looking at the code in libXt-1.0.9/src/Event.c seems to show that to be the case. But: XtAppNextE