I have created a program to display text in text field in X window. I have created a loop to display name of various elements. For 1st element XtAppPending(appCon) Work smoothly. It does not expect any event. But for 2nd and more elements XtSetValue() does not display text in text window. Text is visible only after hitting the but after that XtAppNextEvent (appCon, &ev); function expects some mouse event. Where as I want Window should disappear after some time, until unless user does not do any action say press cancel or help button. I have used XtAppAddTimeOut function also. void tlaguiWorkDialogText_c::EventLoop1() if (XtAppPending(appCon) && !timing_out) do { XtRemoveTimeOut(timeout); But still i am facing same problem. Please suggest me, How can I resolve this issue. Thanks & Regards |
|||
