ROOT  6.06/09
Reference Guide
TSessionLogView.h
Go to the documentation of this file.
1 // @(#)root/sessionviewer:$Id$
2 // Author: Bertrand Bellenot, Gerri Ganis 15/09/2005
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TSessionLogView
13 #define ROOT_TSessionLogView
14 
15 #ifndef ROOT_TGFrame
16 #include "TGFrame.h"
17 #endif
18 
19 #ifndef ROOT_TGButton
20 #include "TGButton.h"
21 #endif
22 
23 #ifndef ROOT_TTextView
24 #include "TGTextView.h"
25 #endif
26 
27 class TSessionViewer;
28 
30 
31 private:
32  TSessionViewer *fViewer; // pointer on main viewer
33  TGTextView *fTextView; // Text view widget
34  TGTextButton *fClose; // OK button
35  TGLayoutHints *fL1; // layout of TGTextEdit
36  TGLayoutHints *fL2; // layout of OK button
37 
38 public:
40  virtual ~TSessionLogView();
41 
42  void AddBuffer(const char *buffer);
43  void LoadBuffer(const char *buffer);
44  void LoadFile(const char *file);
45 
46  Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
47 
48  void CloseWindow();
49  void ClearLogView();
50  void Popup();
51  void SetTitle();
52 
53  ClassDef(TSessionLogView, 0) // PROOF progress dialog
54 };
55 
56 #endif
void LoadBuffer(const char *buffer)
Load a text buffer in the editor.
TSessionViewer * fViewer
TH1 * h
Definition: legend2.C:5
TGLayoutHints * fL1
void LoadFile(const char *file)
Load a file in the editor.
bool Bool_t
Definition: RtypesCore.h:59
TGLayoutHints * fL2
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process OK button.
void SetTitle()
Set title in editor window.
TGTextButton * fClose
#define ClassDef(name, id)
Definition: Rtypes.h:254
TGTextView * fTextView
unsigned int UInt_t
Definition: RtypesCore.h:42
void Popup()
Show editor.
long Long_t
Definition: RtypesCore.h:50
void ClearLogView()
Clear log window.
TSessionLogView(TSessionViewer *viewer, UInt_t w, UInt_t h)
void CloseWindow()
Called when closed via window manager action.
void AddBuffer(const char *buffer)
Load a text buffer in the editor.
virtual ~TSessionLogView()