[Previous]
[Bookset]
[Next]

PtGetAbsPosition()

Get the absolute position of a widget

Synopsis:

void PtGetAbsPosition( PtWidget_t *widget,
                       short *x,
                       short *y );

Description:

This function gets the absolute position of a widget. The coordinates are returned in x and y.


Note: For a window, the x and y coordinates are inside the frame.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtWidgetOffset()


[Previous]
[Bookset]
[Next]