PtWidgetRid()

Get a widget's region ID

Synopsis:

PhRid_t PtWidgetRid( PtWidget_t *widget );

Library:

ph

Description:

This macro returns the region ID of the specified widget. If widget doesn't have a region, the macro returns 0.

Examples:

See PtGetParent().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtWidgetBrotherBehind(), PtWidgetBrotherInFront(), PtWidgetChildFront(), PtWidgetChildBack(), PtWidgetFamily(), PtWidgetParent(), PtWidgetToBack(), PtWidgetToFront()