Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmsvngettreeposition(3x) [osf1 man page]

DXmSvnGetTreePosition(3X)												 DXmSvnGetTreePosition(3X)

NAME
DXmSvnGetTreePosition - Retrieves (returns) the position of the display window for future use. SYNOPSIS
void DXmSvnGetTreePosition( Widget widget, int *x, int *y ); PARAMETERS
The identifier (widget ID) of the SVN widget. A pointer to the x position in the tree. A 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 wid- get restores the display window to its original position). DXmSvnGetTreePosition(3X)

Check Out this Related Man Page

DXmSvnGetDisplayed(3X)													    DXmSvnGetDisplayed(3X)

NAME
DXmSvnGetDisplayed - Retrieves (returns) displayed entry numbers and related information necessary to draw a corresponding display. SYNOPSIS
void DXmSvnGetDisplayed( Widget widget, int *entries(), XtPointer *tags(), int *ys(), int len ); PARAMETERS
The identifier (widget ID) of the SVN widget. A pointer to an array of integers to receive the entry numbers of the entries being dis- played. A pointer to an array of longwords to receive the application's entry_tag value for each entry displayed. If tags are not required, a Null pointer may be passed. A pointer to an array of longwords to receive the y coordinates for each entry displayed. If y coordinates are not required, a Null pointer can be passed. The number of entries allocated in the provided array. DESCRIPTION
The DXmSvnGetDisplayed routine returns information about the entries that the SVN widget is currently displaying. This information can then be used to keep a simultaneous display up to date with the SVN widget window (in the case of a dialog box, for example, which might contain totals for the entries being displayed). The application is responsible for managing the memory used to return this list of entries. As such, note the following: At the minimum, the number of entries in the array should be capable of holding at least the number of entries indicated by the value returned from the DXmSvnGetNumDisplayed routine. If there are more entries in the array than the application will need, the SVN widget will set the value for those extra entries to 0. If the capacity of the arrays passed is less than the number of selected entries, only the number of entries allocated in the provided array (the value for len) will be returned. DXmSvnGetDisplayed(3X)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies