| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Determine if a region is required
void PtCoreChangeRegion( unsigned int fields, 
                         PtWidget_t *widget );
This function examines the current state of widget with respect to fields and determines if widget requires a region. If a region is required, PtCoreChangeRegion() determines what attributes (e.g. sensitivity) are required.
PtCoreChangeRegion() may call one of the following functions with appropriate attributes:
| If the widget: | This function is called: | 
|---|---|
| Is a subclass of PtWindow | PhWindowChange() | 
| Already has a region | PhRegionChange() | 
| Doesn't have a region | PhRegionOpen() | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PhRegionChange(), PhRegionOpen(), PhWindowChange()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |