PtFileSelCallback

PtFileSelCallback -- file selection callback information.

Synopsis

class PtFileSelCallback
{
    item;        // PtFileSelItem
    nitems;      // unsigned integer
    reason;      // short
    sel_mode;    // unsigned integer
}
		

Description

This class holds information from a Pt_CB_FS_STATE or Pt_CB_FS_SELECTION callback. These callbacks are generated when a file is selected in a PtFileSel.

Also see Pt_CB_FS_STATE or Pt_CB_FS_SELECTION in the PtFileSel section of the Photon documentation.

Instance Variables

item

A PtFileSelItem that has been selected.

nitems

Used by Pt_CB_FS_SELECTION only; the number of items selected.

reason

Used by Pt_CB_FS_STATE only; one of the following constants is possible:

sel_mode

An integer specifying the selection mode, which can be one or more of the following:

Associated Classes

PtFileSel, PtFileSelBkgdCallback, PtCallbackInfo

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