PtOnOffButtonCallback

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

# `PtOnOffButtonCallback`

`PtOnOffButtonCallback` -- state change callback information.

## Synopsis

    class PtOnOffButtonCallback
    {
        state;    // integer
    }

## Description

This class holds information from the `Pt_CB_NEW_VALUE` callback, which is generated when a `PtOnOffButton` is toggled ON or OFF.

Also see Pt_CB_NEW_VALUE in the PtOnOffButton section of the Photon documentation.

## Instance Variables

state

  An integer indicating the current state of the button. 0 is OFF; 1 or any non-zero value is ON.

## Associated Classes

`PtOnOffButton`, `PtCallbackInfo`

Prev | Home | Next
`PtNumericIntegerCallback` | Up | `PtScrollbarCallback`

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