PtWidgetDim()

Retrieve a copy of a widget's dimension

Synopsis:

PhDim_t * PtWidgetDim( PtWidget_t *widget, 
                       PhDim_t *dim );

Library:

ph

Description:

This macro retrieves a copy of widget's dimension and stores it in the PhDim_t structure pointed to by dim.

Returns:

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

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhDim_t, PtWidgetArea()