Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtCalcAnchorOffsets()

Update the anchoring values (rules) for the given widget

Synopsis:

int PtCalcAnchorOffsets( PtWidget_t *widget );

Arguments:

widget
A pointer to the widget whose anchoring values you want to update.

Description:

This function updates the anchoring rules for the given widget based on its current anchor flags and its parent's canvas rectangle.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAnchorWidget(), PtApplyAnchors()