CMS 3D CMS Logo

Functions
fireworks_root_gui Namespace Reference

Functions

TGHorizontalFrame * makeHorizontalFrame (TGCompositeFrame *p=nullptr)
 
TGLabel * makeLabel (TGCompositeFrame *p, const char *txt, int width, int lo=0, int ro=0, int to=2, int bo=0)
 

Function Documentation

◆ makeHorizontalFrame()

TGHorizontalFrame * fireworks_root_gui::makeHorizontalFrame ( TGCompositeFrame *  p = nullptr)

Definition at line 11 of file RootGuiUtils.cc.

11  {
12  // Make standard horizontal frame.
13 
14  TGHorizontalFrame* f = new TGHorizontalFrame(p);
15  p->AddFrame(f, new TGLayoutHints(kLHintsNormal | kLHintsExpandX));
16  return f;
17  }

References f, and AlCaHLTBitMon_ParallelJobs::p.

◆ makeLabel()

TGLabel * fireworks_root_gui::makeLabel ( TGCompositeFrame *  p,
const char *  txt,
int  width,
int  lo = 0,
int  ro = 0,
int  to = 2,
int  bo = 0 
)

Definition at line 19 of file RootGuiUtils.cc.

19  {
20  // Make standard label.
21 
22  TGLabel* l = new TGLabel(p, txt);
23  p->AddFrame(l, new TGLayoutHints(kLHintsNormal, lo, ro, to, bo));
24  l->SetTextJustify(kTextRight);
25  l->SetWidth(width);
26  l->ChangeOptions(l->GetOptions() | kFixedWidth);
27  return l;
28  }

References cmsLHEtoEOSManager::l, AlCaHLTBitMon_ParallelJobs::p, and ApeEstimator_cff::width.

Referenced by FWGUIEventFilter::FWGUIEventFilter().

ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
to
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204