| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Determine whether or not a widget needs a region
int PtCalcRegion( unsigned int *fields,
                  PtWidget_t *widget,
                  PhRegion_t *region,
                  PhRect_t *rect );
This function determines whether or not the given widget needs a region and stores information about the region in the PhRegion_t structure pointed to by region.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PhRect_t, PhRegion_t, PhRegionOpen() in the Photon Library Reference
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |