PtFileSelItem

Gamma/Photon: Using Gamma™ with the Photon microGUIŽ, Version 4.0
Prev |  | Next

# `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.

  Constant | Description
  --- | ---
  `Pt_FS_NEW_DIR` | An unallocated directory.
  `Pt_FS_OLD_DIR` | An 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.

  Constant | Description
  --- | ---
  `Pt_FS_DIR_OP` | An open directory (items visible).
  `Pt_FS_DIR_CL` | A closed directory (items not visible).
  `Pt_FS_DLINK_OP` | A link to an open directory.
  `Pt_FS_DLINK_CL` | A link to a closed directory.
  `Pt_FS_FILE` | A file.
  `Pt_FS_FLINK` | A link to a file.
  `Pt_FS_ERROR` | A file that had a read error.

## Associated Classes

`PtFileSel`

Prev | Home | Next
`PtEventData` | Up | `PtMultiTextAttributes`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.