[Previous] [Contents] [Index] [Next]

PtMoveResizeWidget()

Synchronize a widget's extent

Synopsis:

int PtMoveResizeWidget( PtWidget_t *widget, 
                        unsigned blit );

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. The value of blit can be:

0
No blit.
Pt_BLIT_FORCE
Always blit (may cause unexpected effects).
Pt_BLIT
Blit when possible.

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]