PtWidgetArea()

Retrieve a copy of a widget's area

Synopsis:

PhArea_t * PtWidgetArea( PtWidget_t *widget, 
                         PhArea_t *area );

Library:

ph

Description:

This macro retrieves a copy of widget's area and stores it in the PhArea_t structure pointed to by area.

Returns:

The same pointer as area, or NULL if widget or area is NULL.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhArea_t, PtWidgetDim()