25 TGHorizontalFrame *labelframe =
new TGHorizontalFrame(compFrame,200,40);
27 fBankCounterButton =
new TGNumberEntry(labelframe, 0, 9,999, TGNumberFormat::kNESInteger,
28 TGNumberFormat::kNEANonNegative,
29 TGNumberFormat::kNELLimitMinMax,
32 fBankCounterButton->Connect(
"ValueSet(Long_t)",
"TRootanaDisplay", display,
"UpdatePlotsAction()");
33 fBankCounterButton->GetNumberEntry()->Connect(
"ReturnPressed()",
"TRootanaDisplay", display,
"UpdatePlotsAction()");
34 labelframe->AddFrame(
fBankCounterButton,
new TGLayoutHints(kLHintsTop | kLHintsLeft, 5, 5, 5, 5));
35 TGLabel *labelMinicrate =
new TGLabel(labelframe,
"ADC Channel (0-31)");
36 labelframe->AddFrame(labelMinicrate,
new TGLayoutHints(kLHintsTop | kLHintsLeft, 5, 5, 5, 5));
38 compFrame->AddFrame(labelframe,
new TGLayoutHints(kLHintsCenterX,2,2,2,2));