NAME
XtDisplay − return the X Display pointer for the specified widget.
SYNOPSIS
Display ∗XtDisplay(w)
Widget w;
Inputs
wSpecifies the widget; must be of class Core or any subclass thereof.
Returns
The Display of the specified widget.
DESCRIPTION
XtDisplay() returns the display pointer for the specified widget.
USAGE
XtDisplay() 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 nearest widget ancestor of a non-widget object.
SEE ALSO
XtDisplayOfObjectUNIX SYSTEM V/68, XtScreenUNIX SYSTEM V/68.