| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Get a widget's region ID
PhRid_t PtWidgetRid( PtWidget_t *widget );
This function returns the region ID of the specified widget. If widget doesn't have a region, the function returns 0.
See PtGetParent().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtWidgetBrotherBehind(), PtWidgetBrotherInFront(), PtWidgetChildFront(), PtWidgetChildBack(), PtWidgetFamily(), PtWidgetParent(), PtWidgetToBack(), PtWidgetToFront()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |