Lock an item so it can be resized
void PtGenListLockItem( PtWidget_t *list, PtGenListItem_t *item );
Use this function if the size field of a list item must be changed. A call to PtGenListLockItem() is needed first to save the old size of the item before the item can be modified. The PtGenListUnlockItem() function should be called last to update and resize or redisplay the widget if necessary.
Only one item per widget can be locked at a time. If you resize a large number of items, set all sizes and then call PtGenListResize(). |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |