PtNumericFloatCallback

PtNumericFloatCallback — float change callback information.

Synopsis

class PtNumericFloatCallback
{
    numeric_value;    // double
}
		

Description

This class holds information from the Pt_CB_NUMERIC_CHANGED callback, which is generated when a PtNumericFloat widget changes its value.

[Note]

The Pt_CB_NUMERIC_CHANGED callback is used by both PtNumericFloatCallback and PtNumericIntegerCallback, but the type of numeric_value is double or integer, depending on where the callback was used.

Also see Pt_CB_NUMERIC_CHANGED in the PtNumericFloat section of the Photon documentation.

Instance Variables

numeric_value

A number indicating the current value of the widget.

Associated Classes

PtNumeric, PtNumericFloat, PtNumericIntegerCallback, PtCallbackInfo