Operating systems, development tools, and professional
services for connected embedded systems
Home
Developer Resources
Developer Support

QNX Developer Support

PDF Documents
More resources
[Previous] [Contents] [Index] [Next]

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] [Contents] [Index] [Next]
 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo