[Previous] [Contents] [Index] [Next]

PtFSFolderExpand()

Expand an expandable item (directory)

Synopsis:

int PtFSFolderExpand( PtWidget_t *fs,
                      PtFileSelItem_t *item,
                      PhEvent_t *event );

Description:

This function expands the given 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 the event that's passed to the callback. If the item isn't expanded, the return value will reflect that.

Returns:

0
Success.
Pt_END
The item couldn't be expanded.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]