FreeBSD manual
download PDF document: XtDisplayOfObject.3.pdf
XtDisplay(3) XT FUNCTIONS XtDisplay(3)
NAME
XtDisplay, XtDisplayOfObject, XtScreen, XtScreenOfObject, XtWindow,
XtWindowOfObject - obtain window information about a widget
SYNTAX
#include <X11/Intrinsic.h>
Display *XtDisplay(Widget w);
Display *XtDisplayOfObject(Widget object);
Screen *XtScreen(Widget w);
Screen *XtScreenOfObject(Widget object);
Window XtWindow(Widget w);
Window XtWindowOfObject(Widget object);
ARGUMENTS
w Specifies the widget.
object Specifies the widget.
DESCRIPTION
XtDisplay returns the display pointer for the specified widget.
XtDisplayOfObject returns the display pointer for the specified object.
XtScreen returns the screen pointer for the specified widget.
XtScreenOfObject returns the screen pointer for the specified object.
XtWindow returns the window of the specified widget.
XtWindowOfObject returns the window of the specified object.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.2.1 XtDisplay(3)