Inheritance diagram for SplitButtonTest:

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 | |
| TGSplitButton * | fMButton |
| TGPopupMenu * | fPopMenu |
| IDList | IDs |
Definition at line 37 of file splitbuttonTest.C.
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] |
| 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 | ) |
TGSplitButton* SplitButtonTest::fMButton [private] |
Definition at line 40 of file splitbuttonTest.C.
Referenced by DoEnable(), DoSplit(), and SplitButtonTest().
TGPopupMenu* SplitButtonTest::fPopMenu [private] |
IDList SplitButtonTest::IDs [private] |
1.5.1