53 v->SetElementName(
"Bar Embedded Viewer");
110 double fontsize = 0.07;
112 double y = 1 -1*fontsize;
118 latex->
DrawLatex(
x,
y,
"greek letter #Delta#eta_{out}");
126 latex->
DrawLatex(
x,
y,
"#color[5]{#bullet} marker");
128 latex->
DrawLatex(
x,
y,
"#color[4]{#bullet} marker some text");
157 tab1->SetElementName(
"Tabs");
161 slot =
tab1->NewSlot();
163 for(
int i = 0; i<4;++i)
165 Int_t weight =
r.Uniform(3, 7);
177 text_view->
AddLine(
Form(
"slot[%d] add line %d here ", i,
l));
189 slot =
tab1->NewSlot();
194 slot =
tab1->NewSlot();
197 tab2->SetElementName(
"Nested");
199 slot =
tab2->NewSlot();
201 slot =
tab2->NewSlot();
R__EXTERN TEveManager * gEve
char * Form(const char *fmt,...)
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
virtual void ToggleEditor()
Toggle editor.
virtual void SetElementName(const char *name)
Virtual function for setting of name of an element.
TEveViewerList * GetViewers() const
TEveBrowser * GetBrowser() const
TEveGedEditor * GetEditor() const
Returns main object editor.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TEveScene * GetEventScene() const
static void Macro(const char *mac)
Execute macro 'mac'. Do not reload the macro.
virtual void AddElement(TEveElement *el)
Call base-class implementation.
Eve representation of TGLViewer.
virtual void AddScene(TEveScene *scene)
Add 'scene' to the list of scenes.
TGLEmbeddedViewer * SpawnGLEmbeddedViewer(TGedEditor *ged=0, Int_t border=0)
Spawn new GLViewer and adopt it.
Encapsulates TGFrame into an eve-window.
TGCompositeFrame * GetGUICompositeFrame()
Returns the registered top-frame of this eve-window dynamic-casted to composite-frame.
Encapsulates TGPack into an eve-window.
virtual TEveWindowSlot * NewSlotWithWeight(Float_t w)
Create a new weighted frame-slot at the last position of the pack.
virtual TEveWindowSlot * NewSlot()
Create a new frame-slot at the last position of the pack.
Description of TEveWindowSlot.
TEveWindowFrame * StopEmbedding(const char *name=0)
An embedded window is created in place of this window-slot.
TGCompositeFrame * StartEmbedding()
Start embedding a window that will replace the current slot.
TEveWindowFrame * MakeFrame(TGFrame *frame=0)
An eve-window-frame is created and frame is passed into it.
TEveWindowTab * MakeTab()
A tab is created in place of this window-slot.
TEveWindowPack * MakePack()
A pack is created in place of this window-slot.
Encapsulates TGTab into an eve-window.
void ReplaceWindow(TEveWindow *w)
Replace this window with the passed one.
static TEveWindowSlot * CreateWindowInTab(TGTab *tab, TEveWindow *eve_parent=0)
Create a new tab in a given tab-widget and populate it with a default window-slot.
void SetShowTitleBar(Bool_t x)
Set display state of the title-bar.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Layout()
Layout the elements of the composite frame.
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void SetWidth(UInt_t w)
Minimal GL-viewer that can be embedded in a standard ROOT frames.
virtual Bool_t SetTab(Int_t tabIndex, Bool_t emit=kTRUE)
Brings the composite frame with the index tabIndex to the front and generate the following event if t...
virtual void Update()
update the whole window of text view
virtual Long_t ReturnLongestLineWidth()
Return width of longest line.
virtual void AddLine(const char *string)
Add a line of text to the view widget.
virtual void Layout()
Layout the components of view.
To draw Mathematical Formula.
TLatex * DrawLatex(Double_t x, Double_t y, const char *text)
Make a copy of this object with the new parameters And copy object attributes.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
This is the base class for the ROOT Random number generators.
TGTab * GetTabRight() const