This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Anchor the provided widget
void PtAnchorWidget( PtWidget_t *widget );
This function anchors the provided widget. If the widget's anchor offsets have yet to be calculated, they're calculated along with the anchor offsets for all children. No other action takes place.
If the widget's anchor offsets have been calculated, the widget and all its children's dimensions are adjusted to honor their anchor flags.
PtAnchorWidget() is used by PtApplyAnchors(). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtApplyAnchors(), PtCalcAnchorOffsets()