TGedPopup Class Reference

#include <TGedPatternSelect.h>

Inheritance diagram for TGedPopup:

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

Public Member Functions

 TGedPopup (const TGWindow *p, const TGWindow *m, UInt_t w, UInt_t h, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGedPopup ()
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
void PlacePopup (Int_t x, Int_t y, UInt_t w, UInt_t h)
void EndPopup ()
 TGedPopup (const TGWindow *p, const TGWindow *m, UInt_t w, UInt_t h, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGedPopup ()
virtual Bool_t HandleButton (Event_t *event)
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
void PlacePopup (Int_t x, Int_t y, UInt_t w, UInt_t h)
void EndPopup ()

Protected Attributes

const TGWindowfMsgWindow
const TGWindowfMsgWindow

Detailed Description

Definition at line 51 of file TGedPatternSelect.h.


Constructor & Destructor Documentation

TGedPopup::TGedPopup ( const TGWindow p,
const TGWindow m,
UInt_t  w,
UInt_t  h,
UInt_t  options = 0,
Pixel_t  back = GetDefaultFrameBackground() 
)

Definition at line 264 of file TGedPatternSelect.cxx.

References TGFrame::AddInput(), TGObject::fId, SetWindowAttributes_t::fMask, fMsgWindow, SetWindowAttributes_t::fOverrideRedirect, SetWindowAttributes_t::fSaveUnder, gVirtualX, kStructureNotifyMask, kTRUE, kWAOverrideRedirect, kWASaveUnder, and m.

virtual TGedPopup::~TGedPopup (  )  [inline, virtual]

Definition at line 59 of file TGedPatternSelect.h.

TGedPopup::TGedPopup ( const TGWindow p,
const TGWindow m,
UInt_t  w,
UInt_t  h,
UInt_t  options = 0,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGedPopup::~TGedPopup (  )  [inline, virtual]

Definition at line 59 of file TGedPatternSelect.h.


Member Function Documentation

Bool_t TGedPopup::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 319 of file TGedPatternSelect.cxx.

References EndPopup(), TGFrame::fHeight, Event_t::fType, TGFrame::fWidth, Event_t::fX, Event_t::fY, TGCompositeFrame::GetFrameFromPoint(), kButtonRelease, kTRUE, and TGCompositeFrame::TranslateCoordinates().

Bool_t TGedPopup::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 339 of file TGedPatternSelect.cxx.

References EndPopup(), fMsgWindow, GET_MSG(), GET_SUBMSG(), kC_POPUP, kPOP_HIDE, kTRUE, MK_MSG(), and TGFrame::SendMessage().

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

Definition at line 291 of file TGedPatternSelect.cxx.

References EndPopup(), TGObject::fClient, TGFrame::fHeight, TGObject::fId, TGWindow::fParent, TGFrame::fWidth, gClient, TGResourcePool::GetGrabCursor(), TGObject::GetId(), TGClient::GetResourcePool(), gVirtualX, kButtonPressMask, kButtonReleaseMask, kNone, kPointerMotionMask, TGCompositeFrame::Layout(), TGFrame::MapRaised(), TGCompositeFrame::MapSubwindows(), TGFrame::MoveResize(), and TGClient::WaitForUnmap().

Referenced by TGedSelect::HandleButton().

void TGedPopup::EndPopup (  ) 

Definition at line 282 of file TGedPatternSelect.cxx.

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

Referenced by HandleButton(), PlacePopup(), ProcessMessage(), and TGedMarkerPopup::ProcessMessage().

virtual Bool_t TGedPopup::HandleButton ( Event_t event  )  [virtual]

Reimplemented from TGCompositeFrame.

virtual Bool_t TGedPopup::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

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

void TGedPopup::EndPopup (  ) 


Member Data Documentation

const TGWindow* TGedPopup::fMsgWindow [protected]

Definition at line 54 of file TGedPatternSelect.h.

Referenced by ProcessMessage(), TGedMarkerPopup::ProcessMessage(), TGedPatternPopup::ProcessMessage(), and TGedPopup().

const TGWindow* TGedPopup::fMsgWindow [protected]

Definition at line 54 of file TGedPatternSelect.h.


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