I want to use XmCreate{Error|Warning|Info}Dialog to display some message in screen in my SDL based application before its main window is open and any program data is available. I want the dialog to open, print the intended message, and when the user clicks on the OK button, the dialog plus the top widget I had to create for it should be closed/removed. Now afaik XtAppMainLoop will loop and process top widget messages (a window?) until the user closes it. I want to close it when the dialog returns though. How can I do that?
I want to use XmCreate{Error|Warning|Info}Dialog to display some message in screen in my SDL
Share
After hours and hours of googling and reading I have found out that you can use XtAppSetExitFlag (XtAppContext).