6 #include "TRootBrowser.h"
10 #include "TEveManager.h"
11 #include "TEveBrowser.h"
15 #include "TGColorDialog.h"
16 #include "TGColorSelect.h"
33 TEveBrowser* browser = gEve->GetBrowser();
34 browser->StartEmbedding(TRootBrowser::kLeft);
35 TGMainFrame* frmMain =
new TGMainFrame(gClient->GetRoot(), 1000, 600);
36 frmMain->SetWindowName(
"XX GUI");
37 frmMain->SetCleanup(kDeepCleanup);
45 frmMain->AddFrame(setup,
new TGLayoutHints(kLHintsCenterX | kLHintsTop, 0, 0, 1, 1));
49 TGHorizontalFrame *fHL4 =
new TGHorizontalFrame(frmMain, width, height, kFixedWidth);
52 setup->
fNext =
new TGTextButton (fHL4,
"next Event", setup->
IDs.
GetUnID());
53 setup->
fNext->SetToolTipText(
"Click here to load next Event. \n"
54 "If the loop check box is set it will \n"
55 " loop for events. Uncheck the box to \n"
56 "stop. The loop will stop also if \n"
57 "nextEvent() return with non ZERO.");
58 setup->
fNext->Connect(
"Clicked()",
"HEDEvtNavHandler", fhandler,
"selectEvent()");
59 fHL4->AddFrame(setup->
fNext,
new TGLayoutHints(kLHintsExpandX));
60 frmMain->AddFrame(fHL4,
new TGLayoutHints(kLHintsCenterX, 1, 1, 1, 1));
64 frmMain->MapSubwindows();
68 browser->StopEmbedding();
69 browser->SetTabTitle(
"Event Control", 0);
HEDIDList IDs
swich SHOWER sectors
static HEDEvtNavHandler * getHandler()
TGTextButton * fNext
Check buttons show WALL.
static HEDSetup * getEDSetup(const TGWindow *p=0, UInt_t w=0, UInt_t h=0)