Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtWidgetMinimumSize()
Determine the minimum permissible size of a widget
Synopsis:
PhDim_t *PtWidgetMinimumSize(
PtWidget_t const *widget,
PhDim_t *dim );
Library:
ph
Description:
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.
Returns:
A pointer to the PhDim_t structure that was passed in.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PhDim_t, PtWidgetPreferredSize()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)