PtAnchorWidget
![]() |
![]() |
![]() |
![]() |
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.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtApplyAnchors(), PtCalcAnchorOffsets()
![]() |
![]() |
![]() |
![]() |
![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
