TGComboBoxPopup


class description - source file - inheritance tree

class TGComboBoxPopup : public TGCompositeFrame


    public:
TGComboBoxPopup TGComboBoxPopup(TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame, ULong_t back = fgWhitePixel) TGComboBoxPopup TGComboBoxPopup(TGComboBoxPopup&) void ~TGComboBoxPopup() TClass* Class() void EndPopup() virtual Bool_t HandleButton(Event_t*) virtual TClass* IsA() 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)

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()
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
        TGComboBoxPopup TGComboBoxPopup(TGComboBoxPopup&)
                   void ~TGComboBoxPopup()


Author: Fons Rademakers 13/01/98
Last update: 2.00/00 18/02/98 18.49.46 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.