TGComboBoxPopup


class description - source file - inheritance tree

class TGComboBoxPopup : public TGCompositeFrame


    public:
TGComboBoxPopup TGComboBoxPopup(const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, ULong_t back = GetWhitePixel()) TGComboBoxPopup TGComboBoxPopup(TGComboBoxPopup&) void ~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


    protected:
static Cursor_t fgDefaultCursor

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


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


Author: Fons Rademakers 13/01/98
Last update: root/gui:$Name: $:$Id: TGComboBox.cxx,v 1.8 2000/10/17 12:34:52 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.