Running the Main Loop
In libmviews, the function IlvMainLoop does exactly the same job as XtAppMainLoop. You can use the one you want, but IlvMainLoop is provided to make the code portable between different platforms.
We recommend that you clearly separate Views code from Motif code if you plan to port your applications to other platforms.