QNX Developer Support
![]() |
![]() |
![]() |
![]() |
PtMoveResizeWidget()
Synchronize a widget's extent
Synopsis:
int PtMoveResizeWidget( PtWidget_t *widget,
unsigned blit );
Arguments:
- widget
- A pointer to the widget whose extent you want to synchronize.
- blit
- A flag that indicates whether or not to use blitting; one of:
- 0 -- don't blit.
- Pt_BLIT_FORCE -- always blit (this may cause unexpected effects).
- Pt_BLIT -- blit when possible.
Description:
This function synchronizes a widget's extent with its position and size resources. Any region adjustments, blits, or damages are performed automatically.
This function calls the widget's Extent method to calculate its new extent.
Returns:
- 0
- No action.
- Nonzero
- The widget was modified or damage was generated.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
