XtDisplay()XtDisplay()NameXtDisplay - return the X Display pointer for the specified widget.
Synopsis
Display *XtDisplay(w)
Widget w;
Inputs
w Specifies the widget; must be of class Core or any subclass
thereof.
Returns
The Display of the specified widget.
DescriptionXtDisplay() returns the display pointer for the specified widget.
UsageXtDisplay() is implemented as a function when called from application
code, but is replaced by a more efficient macro when called from widget
code that includes the file <X11/IntrinsicP.h>.
Use XtDisplayOfObject() to return the display of a widget or the near‐
est widget ancestor of a non-widget object.
See AlsoXtDisplayOfObject(1), XtScreen(1).
Xt - Object Information XtDisplay()