Derived from: BTextView
Declared in: int32Gadget.h
Library: libBeGUI.so
The Int32Gadget Class is used to gather floating point numerical data.
This is the constructor. The parameter paramInitValue is the text (a floating point number) with which the gadget initially opens.
The parameter paramName is used to name the gadget--might be useful in scripts--it may be NULL.
The parameter paramLabel is used to label the gadget--it may be NULL, in which case the gadget will have no label.
The parameter paramTextViewWidth is best left at 0 (zero). If a non-zero value is supplied it overrides the built-in balance between the label width, container width and overall gadget width. This might be desired if you want to create a table of string entries who's labels are of different lengths, but you still want all the entry containers to line up. You would pre-calculate the longest label, then pass this value in to all the gadgets' paramTextViewWidth.
The parameter paramMessageTarget is the message target for this gadget--it generally points to the window in which the gadget resides.
The parameter paramLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
The parameter paramMakeFocus has a default value of false, and only needs to be set to true when you wish this gadget to have focus immediately upon window creation.
This is the destructor. It does nothing.
Returns the value of the private member left edge.
Returns the value of the private member top edge.
Sets the value of the private member left edge.
Sets the value of the private member top edge.
This overrides the inherent MessageReceived(). It does a bit of numerical testing on the textual entry and warns the user of problems when found.
This just overrides the BTextView method to provide color control and to set focus, it calls the inherited version.
for version 1.4.2
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified March 17, 1999.