CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
fireworks_root_gui Namespace Reference

Functions

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

Function Documentation

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

Definition at line 13 of file RootGuiUtils.cc.

References f.

14 {
15  // Make standard horizontal frame.
16 
17  TGHorizontalFrame* f = new TGHorizontalFrame(p);
18  p->AddFrame(f, new TGLayoutHints(kLHintsNormal|kLHintsExpandX));
19  return f;
20 }
double f[11][100]
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 22 of file RootGuiUtils.cc.

References prof2calltree::l.

Referenced by FWGUIEventFilter::FWGUIEventFilter().

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