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


Home
QNX Community Resources
QNX Documentation Library
PtMoveResizeWidget

PtMoveResizeWidget

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

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