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


Home
QNX Community Resources
QNX Documentation Library
PtUpdateVisibility

PtUpdateVisibility

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

PtUpdateVisibility()

Tell the widget library about a change in visibility

Synopsis:

PtUpdateVisibility( PtWidget_t *widget, 
                    PhRect_t *rect );

Arguments:

widget
A pointer to a container widget whose visibility has changed.
rect
A pointer to a PhRect_t structure that defines the area over which the visibility has changed.

Description:

This function tells the widget library that a change has occurred that may affect the visibility of widgets that intersect with the provided rect in the given container widget. This change may make the intersecting widgets completely obscured, completely unobscured, or partially obscured. This information is used to optimize refreshing the screen:

Returns:

0 on success; -1 if widget isn't a container.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhRect_t in the Photon Library Reference