Xmgetxmscreen a screen function that returns the xmscreen object id for a specified screen "xmgetxmscreen"
#include <Xm/Screen.h> Widget XmGetXmScreen( Screen *screen);
XmGetXmScreen returns the XmScreen object ID associated with a screen. The application can access and manipulate Screen resources with XtGetValues and XtSetValues.
Specifies the screen for which the XmScreen ID is to be returned
For a complete definition of Screen and its associated resources, see XmScreen(3).
Returns the XmScreen object ID.