TestMsgBox Class Reference

#include <guitest.h>

Inheritance diagram for TestMsgBox:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TestMsgBox (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options=kVerticalFrame)
virtual ~TestMsgBox ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
 TestMsgBox (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options=kVerticalFrame)
virtual ~TestMsgBox ()
virtual void CloseWindow ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
 TestMsgBox (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options=kVerticalFrame)
virtual ~TestMsgBox ()
void TryToClose ()
void CloseWindow ()
void DoClose ()
void DoRadio ()
void DoTest ()

Private Attributes

TGCompositeFramef1
TGCompositeFramef2
TGCompositeFramef3
TGCompositeFramef4
TGCompositeFramef5
TGButtonfTestButton
TGButtonfCloseButton
TGPictureButtonfPictButton
TGRadioButtonfR [4]
TGCheckButtonfC [9]
TGGroupFramefG1
TGGroupFramefG2
TGLayoutHintsfL1
TGLayoutHintsfL2
TGLayoutHintsfL3
TGLayoutHintsfL4
TGLayoutHintsfL5
TGLayoutHintsfL6
TGLayoutHintsfL21
TGTextEntryfTitle
TGTextEntryfMsg
TGTextBufferfTbtitle
TGTextBufferfTbmsg
TGLabelfLtitle
TGLabelfLmsg
TGGC fRedTextGC
TGCompositeFramef1
TGButtonfTestButton
TGPictureButtonfPictButton
TGRadioButtonfR [4]
TGCheckButtonfC [13]
TGGroupFramefG1
TGLayoutHintsfL1
TGTextEntryfTitle
TGTextBufferfTbtitle
TGLabelfLtitle
TGTransientFramefMain
TGCompositeFramef1
TGButtonfTestButton
TGPictureButtonfPictButton
TGRadioButtonfR [4]
TGCheckButtonfC [13]
TGGroupFramefG1
TGLayoutHintsfL1
TGTextEntryfTitle
TGTextBufferfTbtitle
TGLabelfLtitle

Detailed Description

Definition at line 154 of file guitest.h.


Constructor & Destructor Documentation

TestMsgBox::TestMsgBox ( const TGWindow p,
const TGWindow main,
UInt_t  w,
UInt_t  h,
UInt_t  options = kVerticalFrame 
)

Definition at line 785 of file guitest.cpp.

References TGCompositeFrame::AddFrame(), TGTextBuffer::AddText(), TGWidget::Associate(), TGFrame::ChangeBackground(), TGCompositeFrame::ChangeOptions(), f1, f2, f3, f4, f5, fC, TGObject::fClient, fCloseButton, fG1, fG2, TGFrame::fHeight, fL1, fL2, fL21, fL3, fL4, fL5, fL6, fLmsg, fLtitle, fMsg, fPictButton, fR, fRedTextGC, fTbmsg, fTbtitle, fTestButton, fTitle, TGFrame::fWidth, TGClient::GetColorByName(), TGCompositeFrame::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGFrame::GetDefaultWidth(), TGFrame::GetHeight(), TGObject::GetId(), TGFrame::GetOptions(), TGWindow::GetParent(), TGClient::GetPicture(), green, gVirtualX, i, kButtonDown, kFixedWidth, kHorizontalFrame, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kVerticalFrame, main(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Move(), red, TGFrame::Resize(), TGGC::SetForeground(), TGRadioButton::SetState(), TGCheckButton::SetState(), TGMainFrame::SetWindowName(), TGCompositeFrame::TGCompositeFrame(), and TGClient::WaitFor().

TestMsgBox::~TestMsgBox (  )  [virtual]

Definition at line 928 of file guitest.cpp.

References f1, f2, f3, f4, f5, fC, fCloseButton, fL1, fL2, fL21, fL3, fL4, fL5, fL6, fLmsg, fLtitle, fMsg, fR, fTestButton, and fTitle.

TestMsgBox::TestMsgBox ( const TGWindow p,
const TGWindow main,
UInt_t  w,
UInt_t  h,
UInt_t  options = kVerticalFrame 
)

virtual TestMsgBox::~TestMsgBox (  )  [virtual]

TestMsgBox::TestMsgBox ( const TGWindow p,
const TGWindow main,
UInt_t  w,
UInt_t  h,
UInt_t  options = kVerticalFrame 
)

virtual TestMsgBox::~TestMsgBox (  )  [virtual]


Member Function Documentation

void TestMsgBox::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 943 of file guitest.cpp.

Referenced by DoClose(), and ProcessMessage().

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

Reimplemented from TGCompositeFrame.

Definition at line 950 of file guitest.cpp.

References CloseWindow(), fC, TGObject::fClient, fR, fTbmsg, fTbtitle, GET_MSG(), GET_SUBMSG(), TGClient::GetRoot(), TGCompositeFrame::GetState(), TGTextBuffer::GetString(), i, kButtonDown, kButtonUp, kC_COMMAND, kCM_BUTTON, kCM_CHECKBUTTON, kCM_RADIOBUTTON, kMBIconStop, kTRUE, mb_button_id0, mb_icon1, and retval.

virtual void TestMsgBox::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

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

Reimplemented from TGCompositeFrame.

void TestMsgBox::TryToClose (  ) 

Definition at line 1571 of file guitest.C.

References fMain, and TGMainFrame::GetWindowName().

void TestMsgBox::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

void TestMsgBox::DoClose (  ) 

Definition at line 1533 of file guitest.C.

References CloseWindow().

void TestMsgBox::DoRadio (  ) 

Definition at line 1578 of file guitest.C.

References fR, gTQSender, kButtonUp, and TGWidget::WidgetId().

void TestMsgBox::DoTest (  ) 

Definition at line 1540 of file guitest.C.

References TQObject::Connect(), TQObject::Disconnect(), fC, fMain, fR, fTbmsg, fTbtitle, gClient, TGClient::GetRoot(), TGCompositeFrame::GetState(), TGTextBuffer::GetString(), kButtonDown, kMBIconStop, mb_button_id, mb_icon, and retval.


Member Data Documentation

TGCompositeFrame* TestMsgBox::f1 [private]

Definition at line 157 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGCompositeFrame * TestMsgBox::f2 [private]

Definition at line 157 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGCompositeFrame * TestMsgBox::f3 [private]

Definition at line 157 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGCompositeFrame * TestMsgBox::f4 [private]

Definition at line 157 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGCompositeFrame * TestMsgBox::f5 [private]

Definition at line 157 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGButton* TestMsgBox::fTestButton [private]

Definition at line 158 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGButton * TestMsgBox::fCloseButton [private]

Definition at line 158 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGPictureButton* TestMsgBox::fPictButton [private]

Definition at line 159 of file guitest.h.

Referenced by TestMsgBox().

TGRadioButton* TestMsgBox::fR[4] [private]

Definition at line 160 of file guitest.h.

Referenced by DoRadio(), DoTest(), ProcessMessage(), TestMsgBox(), and ~TestMsgBox().

TGCheckButton* TestMsgBox::fC[9] [private]

Definition at line 161 of file guitest.h.

Referenced by DoTest(), ProcessMessage(), TestMsgBox(), and ~TestMsgBox().

TGGroupFrame* TestMsgBox::fG1 [private]

Definition at line 162 of file guitest.h.

Referenced by TestMsgBox().

TGGroupFrame * TestMsgBox::fG2 [private]

Definition at line 162 of file guitest.h.

Referenced by TestMsgBox().

TGLayoutHints* TestMsgBox::fL1 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLayoutHints * TestMsgBox::fL2 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLayoutHints * TestMsgBox::fL3 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLayoutHints * TestMsgBox::fL4 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLayoutHints * TestMsgBox::fL5 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLayoutHints * TestMsgBox::fL6 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLayoutHints * TestMsgBox::fL21 [private]

Definition at line 163 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGTextEntry* TestMsgBox::fTitle [private]

Definition at line 164 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGTextEntry * TestMsgBox::fMsg [private]

Definition at line 164 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGTextBuffer* TestMsgBox::fTbtitle [private]

Definition at line 165 of file guitest.h.

Referenced by DoTest(), ProcessMessage(), and TestMsgBox().

TGTextBuffer * TestMsgBox::fTbmsg [private]

Definition at line 165 of file guitest.h.

Referenced by DoTest(), ProcessMessage(), and TestMsgBox().

TGLabel* TestMsgBox::fLtitle [private]

Definition at line 166 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGLabel * TestMsgBox::fLmsg [private]

Definition at line 166 of file guitest.h.

Referenced by TestMsgBox(), and ~TestMsgBox().

TGGC TestMsgBox::fRedTextGC [private]

Definition at line 167 of file guitest.h.

Referenced by TestMsgBox().

TGCompositeFrame* TestMsgBox::f1 [private]

Definition at line 287 of file guitest.cxx.

TGButton* TestMsgBox::fTestButton [private]

Definition at line 288 of file guitest.cxx.

TGPictureButton* TestMsgBox::fPictButton [private]

Definition at line 289 of file guitest.cxx.

TGRadioButton* TestMsgBox::fR[4] [private]

Definition at line 290 of file guitest.cxx.

TGCheckButton* TestMsgBox::fC[13] [private]

Definition at line 291 of file guitest.cxx.

TGGroupFrame* TestMsgBox::fG1 [private]

Definition at line 292 of file guitest.cxx.

TGLayoutHints* TestMsgBox::fL1 [private]

Definition at line 293 of file guitest.cxx.

TGTextEntry* TestMsgBox::fTitle [private]

Definition at line 294 of file guitest.cxx.

TGTextBuffer* TestMsgBox::fTbtitle [private]

Definition at line 295 of file guitest.cxx.

TGLabel* TestMsgBox::fLtitle [private]

Definition at line 296 of file guitest.cxx.

TGTransientFrame* TestMsgBox::fMain [private]

Reimplemented from TGTransientFrame.

Definition at line 314 of file guitest.C.

Referenced by DoTest(), and TryToClose().

TGCompositeFrame* TestMsgBox::f1 [private]

Definition at line 315 of file guitest.C.

TGButton* TestMsgBox::fTestButton [private]

Definition at line 316 of file guitest.C.

TGPictureButton* TestMsgBox::fPictButton [private]

Definition at line 317 of file guitest.C.

TGRadioButton* TestMsgBox::fR[4] [private]

Definition at line 318 of file guitest.C.

TGCheckButton* TestMsgBox::fC[13] [private]

Definition at line 319 of file guitest.C.

TGGroupFrame* TestMsgBox::fG1 [private]

Definition at line 320 of file guitest.C.

TGLayoutHints* TestMsgBox::fL1 [private]

Definition at line 321 of file guitest.C.

TGTextEntry* TestMsgBox::fTitle [private]

Definition at line 322 of file guitest.C.

TGTextBuffer* TestMsgBox::fTbtitle [private]

Definition at line 323 of file guitest.C.

TGLabel* TestMsgBox::fLtitle [private]

Definition at line 324 of file guitest.C.


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