PtTerminalInput

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

# `PtTerminalInput`

`PtTerminalInput` -- input callback information.

## Synopsis

    class PtTerminalInput
    {
        length;      // unsigned short
        position;    // PhPoint
        string;      // string
    }

## Description

This class holds information on terminal text input generated by a `Pt_CB_TERM_INPUT` callback. This callback is generated for every keystroke except those where both Alt and Ctrl are held down.

Also see Pt_CB_TERM_INPUT in the `PtTerminal` section of the Photon documentation.

## Instance Variables

length

  A number of characters (usually 0 or 1) generated by the keystroke.

position

  The current cursor or mouse position.

string

  A string comprising the character typed.

## Associated Classes

`PtTerminal`, `PtCallbackInfo`

Prev | Home | Next
`PtTerminalFontChange` | Up | `PtTerminalOptionChange`

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