Determine the minimum permissible size of a widget
PhDim_t *PtWidgetMinimumSize( PtWidget_t const *widget, PhDim_t *dim );
This function calculates the minimum size a widget can be, taking into account its current border sizes, resize policy, and value for its Pt_ARG_MINIMUM_DIM resource.
The resulting dimension is stored in the PhDim_t structure pointed to by dim.
A pointer to the PhDim_t structure that was passed in.