Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtGenListUnlockItem

PtGenListUnlockItem

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtGenListUnlockItem()

Unlock an item so it can be updated

Synopsis:

void PtGenListUnlockItem( PtWidget_t *list, 
                          PtGenListItem_t *item );

Description:

Use this function if the size field of a list item must be changed. First, call PtGenListLockItem() to save the old size of the item, and then modify the item. Then, call PtGenListUnlockItem() to update and resize or redisplay the widget if necessary.


Note: 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().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t