library: libGui #include "TGComboBox.h"

# TGFontTypeComboBox

class description - source file - inheritance tree (.ps)

## class TGFontTypeComboBox : public TGComboBox

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

`TGWidget`

<-

`TGComboBox`

<-

`TGFontTypeComboBox`

        public:

                             TGFontTypeComboBox(const TGWindow* p, Int_t id, UInt_t options = kHorizontalFrame|kSunkenFrame|kDoubleBorder, Pixel_t bask = GetWhitePixel())
                             TGFontTypeComboBox(const TGFontTypeComboBox&)
                     virtual ~TGFontTypeComboBox()
              static TClass* Class()
             virtual TClass* IsA() const
                virtual void ShowMembers(TMemberInspector& insp, char* parent)
                virtual void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          FontStruct_t fFonts[20]

## Class Description

     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.

TGFontTypeComboBox(const TGWindow *p, Int_t id, UInt_t options, Pixel_t back) : TGComboBox(p, id, options, back)

     Create a text font combo box.

~TGFontTypeComboBox()

     Text font combo box dtor.

### Inline Functions

                       TClass* Class()
                       TClass* IsA() const
                          void ShowMembers(TMemberInspector& insp, char* parent)
                          void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)
            TGFontTypeComboBox TGFontTypeComboBox(const TGFontTypeComboBox&)

Author: Fons Rademakers 13/01/98
Last update: root/gui:$Name: $:$Id: TGComboBox.cxx,v 1.21 2004/07/07 10:17:20 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *