Betriebssysteme, Tools und Dienstleistungen
für die Entwicklung überlegener Embedded-Systeme
Home
Developer Resources
Developer Support

QNX Developer Support

PDF Documents
More resources
[Previous] [Contents] [Index] [Next]

PtGenListLockItem()

Lock an item so it can be resized

Synopsis:

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

Description:

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


Note: You can lock only one item per widget at a time. If you resize a large number of items, set all the sizes and then call PtGenListResize().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t


[Previous] [Contents] [Index] [Next]
 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo