TGComboBoxPopup Class Reference

#include <TGComboBox.h>

Inheritance diagram for TGComboBoxPopup:

TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGComboBoxPopup (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kVerticalFrame, Pixel_t back=GetWhitePixel())
virtual Bool_t HandleButton (Event_t *)
void SetListBox (TGListBox *lb)
void PlacePopup (Int_t x, Int_t y, UInt_t w, UInt_t h)
void EndPopup ()
 TGComboBoxPopup (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kVerticalFrame, Pixel_t back=GetWhitePixel())
virtual Bool_t HandleButton (Event_t *)
void SetListBox (TGListBox *lb)
void PlacePopup (Int_t x, Int_t y, UInt_t w, UInt_t h)
void EndPopup ()

Protected Attributes

TGListBoxfListBox
TGLBEntryfSelected
TGListBoxfListBox
TGLBEntryfSelected

Detailed Description

Definition at line 43 of file TGComboBox.h.


Constructor & Destructor Documentation

TGComboBoxPopup::TGComboBoxPopup ( const TGWindow p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kVerticalFrame,
Pixel_t  back = GetWhitePixel() 
)

TGComboBoxPopup::TGComboBoxPopup ( const TGWindow p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kVerticalFrame,
Pixel_t  back = GetWhitePixel() 
)


Member Function Documentation

Bool_t TGComboBoxPopup::HandleButton ( Event_t  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 82 of file TGComboBox.cxx.

References EndPopup(), TGLBEntry::EntryId(), Event_t::fCode, fListBox, fSelected, Event_t::fType, TGListBox::GetSelectedEntry(), kButton1, kButtonPress, kTRUE, and TGListBox::Select().

void TGComboBoxPopup::SetListBox ( TGListBox lb  )  [inline]

Definition at line 55 of file TGComboBox.h.

References fListBox.

Referenced by TGComboBox::Init().

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

Definition at line 110 of file TGComboBox.cxx.

References EndPopup(), TGObject::fClient, TGFrameElement::fFrame, TGFrame::fHeight, TGObject::fId, TList::First(), TGCompositeFrame::fList, fListBox, TGWindow::fParent, fSelected, TGFrame::fWidth, TGResourcePool::GetGrabCursor(), TGObject::GetId(), TGClient::GetResourcePool(), TGListBox::GetSelectedEntry(), gVirtualX, TGClient::IsEditable(), kButtonPressMask, kButtonReleaseMask, kNone, kPointerMotionMask, TGCompositeFrame::Layout(), TGFrame::MapRaised(), TGCompositeFrame::MapSubwindows(), TGFrame::MoveResize(), TGClient::RegisterPopup(), and TGClient::WaitForUnmap().

Referenced by TGComboBox::HandleButton().

void TGComboBoxPopup::EndPopup (  ) 

Definition at line 99 of file TGComboBox.cxx.

References gVirtualX, TGWindow::IsMapped(), kFALSE, and TGFrame::UnmapWindow().

Referenced by HandleButton(), PlacePopup(), TGComboBox::ProcessMessage(), and TGComboBox::~TGComboBox().

virtual Bool_t TGComboBoxPopup::HandleButton ( Event_t  )  [virtual]

Reimplemented from TGCompositeFrame.

void TGComboBoxPopup::SetListBox ( TGListBox lb  )  [inline]

Definition at line 55 of file TGComboBox.h.

References fListBox.

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

void TGComboBoxPopup::EndPopup (  ) 


Member Data Documentation

TGListBox* TGComboBoxPopup::fListBox [protected]

Definition at line 45 of file TGComboBox.h.

Referenced by HandleButton(), PlacePopup(), and SetListBox().

TGLBEntry* TGComboBoxPopup::fSelected [protected]

Definition at line 46 of file TGComboBox.h.

Referenced by HandleButton(), and PlacePopup().

TGListBox* TGComboBoxPopup::fListBox [protected]

Definition at line 45 of file TGComboBox.h.

TGLBEntry* TGComboBoxPopup::fSelected [protected]

Definition at line 46 of file TGComboBox.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:21 2011 for ROOT_528-00b_version by  doxygen 1.5.1