PtFileSelItem

PtFileSelItem — an item in a PtFileSel.

Synopsis

class PtFileSelItem
{
    fullpath;     // string
    opened;       // short
    otherinfo;    // string
    root;         // short
    type;         // short
}
		

Description

This class is an item in a PtFileSel.

Also see PtFileSel in the Photon documentation.

Instance Variables

fullpath

A string specifying the item's pathname.

opened

This variable indicates whether or not the children of the directory have been allocated, and can have one of the following values.

ConstantDescription
Pt_FS_NEW_DIRAn unallocated directory.
Pt_FS_OLD_DIRAn allocated directory.
otherinfo

A string that holds other information.

root

A number indicating whether this item is the root directory. 1 means yes, 0 means no.

type

This variable indicates the type of item, and can have one of the following values.

ConstantDescription
Pt_FS_DIR_OPAn open directory (items visible).
Pt_FS_DIR_CLA closed directory (items not visible).
Pt_FS_DLINK_OPA link to an open directory.
Pt_FS_DLINK_CLA link to a closed directory.
Pt_FS_FILEA file.
Pt_FS_FLINKA link to a file.
Pt_FS_ERRORA file that had a read error.

Associated Classes

PtFileSel