|
DXmSvnSetTreePosition(3X)
Contents
|
DXmSvnSetTreePosition - Sets the position of the tree in
tree display mode.
void DXmSvnSetTreePosition(
Widget widget,
int x,
int y );
The identifier (widget ID) of the SVN widget. An integer
that represents the x position for the tree. This value
is obtained by a previous call to the DXmSvnGetTreePosition
routine. An integer that represents the y position
for tree. This value is obtained by a previous call to
the DXmSvnGetTreePosition routine.
The DXmSvnSetTreePosition routine enables applications to
set the exact position of the display from previously
stored coordinates. It is valid to call this routine only
when the DXmSvnNdisplayMode resource is set to DXmSvnKdisplayTree.
(The DXmSvnGetTreePosition routine retrieves
the x and y coordinates from the SVN widget.)
Note that if the application does not currently have the
exact same characteristics (for example, the same mode,
fonts, or size and number of entries) as when the
DXmSvnGetPosition routine was last called, calling the
DXmSvnSetTreePosition routine may generate an incorrect
display.
Make this call in your application between calls to
DXmSvnDisableDisplay and DXmSvnEnableDisplay.
DXmSvnSetTreePosition(3X)
[ Back ] |