SplitButtonTest Class Reference

Inheritance diagram for SplitButtonTest:

TGMainFrame 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

 SplitButtonTest (const TGWindow *p, UInt_t w, UInt_t h)
virtual ~SplitButtonTest ()
void DoExit ()
void DoSplit (Bool_t split)
void DoEnable (Bool_t on)
void HandleMenu (Int_t id)

Private Attributes

TGSplitButtonfMButton
TGPopupMenufPopMenu
IDList IDs

Detailed Description

Definition at line 37 of file splitbuttonTest.C.


Constructor & Destructor Documentation

SplitButtonTest::SplitButtonTest ( const TGWindow p,
UInt_t  w,
UInt_t  h 
)

Definition at line 57 of file splitbuttonTest.C.

References TGPopupMenu::AddEntry(), TGCompositeFrame::AddFrame(), TGPopupMenu::AddSeparator(), TQObject::Connect(), TGPopupMenu::DisableEntry(), TGMainFrame::DontCallClose(), fMButton, fPopMenu, gClient, TGCompositeFrame::GetDefaultSize(), TGClient::GetRoot(), IDList::GetUnID(), ID_1, ID_2, ID_3, ID_4, ID_5, IDs, kButtonDown, kDeepCleanup, kLHintsCenterX, kLHintsCenterY, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGCheckButton::SetState(), and TGMainFrame::SetWindowName().

SplitButtonTest::~SplitButtonTest (  )  [virtual]

Definition at line 116 of file splitbuttonTest.C.

References TGCompositeFrame::Cleanup().


Member Function Documentation

void SplitButtonTest::DoExit (  ) 

Definition at line 122 of file splitbuttonTest.C.

References gApplication, and TApplication::Terminate().

Referenced by HandleMenu().

void SplitButtonTest::DoSplit ( Bool_t  split  ) 

Definition at line 133 of file splitbuttonTest.C.

References fMButton, and TGSplitButton::SetSplit().

void SplitButtonTest::DoEnable ( Bool_t  on  ) 

Definition at line 138 of file splitbuttonTest.C.

References fMButton, kButtonDisabled, kButtonUp, and TGButton::SetState().

void SplitButtonTest::HandleMenu ( Int_t  id  ) 

Definition at line 146 of file splitbuttonTest.C.

References DoExit(), ID_1, ID_2, ID_3, ID_4, and ID_5.


Member Data Documentation

TGSplitButton* SplitButtonTest::fMButton [private]

Definition at line 40 of file splitbuttonTest.C.

Referenced by DoEnable(), DoSplit(), and SplitButtonTest().

TGPopupMenu* SplitButtonTest::fPopMenu [private]

Definition at line 41 of file splitbuttonTest.C.

Referenced by SplitButtonTest().

IDList SplitButtonTest::IDs [private]

Definition at line 43 of file splitbuttonTest.C.

Referenced by SplitButtonTest().


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