DXmSvnGetTreePosition(3X) — Subroutines
NAME
DXmSvnGetTreePosition − Retrieves (returns) the position of the display window for future use.
SYNOPSIS
void DXmSvnGetTreePosition (widget, x, y)
Widget widget;
int ∗x;
int ∗y;
PARAMETERS
widgetThe identifier (widget ID) of the SVN widget.
xA pointer to the x position in the tree.
yA pointer to the y position in the tree.
DESCRIPTION
The DXmSvnGetTreePosition routine obtains the upper-left coordinate position of the display window that is within the virtual display. It thus provides a way for applications to determine the exact position of the display window so that window can be restored at a later time (using the DXmSvnSetTreePosition routine).
The application can call this routine only when the DXmSvnNdisplayMode resource is set to DXmSvnKdisplayTree. Note as well that the x and y coordinates returned are only meaningful internally to the SVN widget (they are used by the DXmSvnSetTreePosition routine when the SVN widget restores the display window to its original position).