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. The coordinates are returned in x and y.
![]() |
For a window, the x and y coordinates are inside the frame. |
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |