| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Get the absolute position of a widget
void PtGetAbsPosition( PtWidget_t *widget,
                       short *x,
                       short *y );
This function gets the absolute position of a widget (i.e. the coordinates of the upper left corner of the widget's border). The coordinates are returned in x and y.
|  | For a window, the x and y coordinates don't include the frame that's added by the window manager. Windows don't usually have borders. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |