library: libGui #include "TGComboBox.h"

# TGComboBoxPopup

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

## class TGComboBoxPopup : public TGCompositeFrame

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
| <- | `TGCompositeFrame`
| <- | `TGComboBoxPopup` |

        public:

                          TGComboBoxPopup(const TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = kVerticalFrame, Pixel_t back = GetWhitePixel())
                          TGComboBoxPopup(const TGComboBoxPopup&)
                          ~TGComboBoxPopup()
           static TClass* Class()
                     void EndPopup()
           virtual Bool_t HandleButton(Event_t*)
          virtual TClass* IsA() const
                     void PlacePopup(Int_t x, Int_t y, UInt_t w, UInt_t h)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

## 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.

TGComboBoxPopup(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGCompositeFrame (p, w, h, options, back)

     Create a combo box popup frame.

Bool_t HandleButton(Event_t *event)

     Handle mouse button event in combo box popup.

void EndPopup()

     Ungrab pointer and unmap popup window.

void PlacePopup(Int_t x, Int_t y, UInt_t w, UInt_t h)

     Popup combo box popup window at the specified place.

### Inline Functions

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

Author: Fons Rademakers 13/01/98
Last update: root/gui:$Name: $:$Id: TGComboBox.cxx,v 1.30 2005/06/01 12:35:55 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *