Retrieving Connection Information
You can access the topmost shell created by Rogue Wave Views by calling the member function topShell of the IlvDisplay class. The returned value must be converted to a Widget.
The Xt application context is returned by the function IlvApplicationContext. The returned value must be converted to an XtAppContext.
To get all the information about a connection to an X Window application, you must use the following functions:
XtAppContext appContext = (XtAppContext)IlvApplicationContext();
Widget topLevel = (Widget)display->topShell();
Before using the IlvApplicationContext function, add the following to the application code:
extern XtAppContext IlvApplicationContext();
To use the XtAppContext object, refer to the Xt documentation.
Version 6.0
Copyright © 2015, Rogue Wave Software, Inc. All Rights Reserved.