Derived from: BTextView
Declared in: stringGadget.h
Library: libBeGUI.so
The StringGadget Class is used to gather simple one line string data. It may be used for numerical data, but specialized number entry gadgets are provided (see UInt32Gadget, FloatGadget etc.).
This is the constructor. The parameter paramInitValue sets the initial entry string--it may be NULL.
The parameter paramName sets the name of the gadget--it may be NULL, if not it may be useful in scripts.
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 the width of the text entry area, it may be 0 (zero), in which case the size is calculated from the initial entry string.
The parameter paramMessageTarget is the message target for this gadget--it would generally be the window in which the StringGadget 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 just overrides the BTextControl 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.