library: libGui #include "TGComboBox.h" |
Inheritance Chart: | |||||||||||||||||||||||||||||||||
|
public:
TGLineWidthComboBox(const TGWindow* p = 0, Int_t id = -1, UInt_t options = kHorizontalFrame|kSunkenFrame|kDoubleBorder, Pixel_t back = GetWhitePixel(), Bool_t none = kFALSE) TGLineWidthComboBox(const TGLineWidthComboBox&) ~TGLineWidthComboBox() static TClass* Class() virtual TClass* IsA() const virtual void SavePrimitive(ostream& out, Option_t* option = "") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
TGComboBox, TGComboBoxPopup A combobox (also known as a drop down listbox) allows the selection of one item out of a list of items. The selected item is visible in a little window. To view the list of possible items one has to click on a button on the right of the little window. This will drop down a listbox. After selecting an item from the listbox the box will disappear and the newly selected item will be shown in the little window. The TGComboBox is user callable. The TGComboBoxPopup is a service class of the combobox. Selecting an item in the combobox will generate the event: kC_COMMAND, kCM_COMBOBOX, combobox id, item id.
Create a line width combo box. If "none" is equal to kTRUE the first entry is "None".
Save a line width combo box widget as a C++ statement(s).