Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtAnchorWidget

PtAnchorWidget

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtAnchorWidget()

Anchor the provided widget

Synopsis:

void PtAnchorWidget( PtWidget_t *widget );

Arguments:

widget
A pointer to the widget to anchor.

Description:

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.


Note: PtAnchorWidget() is used by PtApplyAnchors().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtApplyAnchors(), PtCalcAnchorOffsets()