Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtFSFolderCollapse()

Collapse an expandable item (directory)

Synopsis:

void PtFSFolderCollapse( PtWidget_t *fs, 
                         PtFileSelItem_t *item,
                         PhEvent_t *event );

Description:

This function collapses the given item. The item must be expandable, i.e. a directory item. The fs argument must point to the file selector that contains the item or be NULL if the item doesn't belong to any file selector.

If fs isn't NULL, its Pt_CB_FS_STATE callback is invoked. The event argument is passed to the callback.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhEvent_t in the Photon Library Reference