Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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#include "TGFrame.h"
16
17#include "TGButton.h"
18
19#include "TGTextView.h"
20
21class TSessionViewer;
22
24
25private:
26 TSessionViewer *fViewer; // pointer on main viewer
27 TGTextView *fTextView; // Text view widget
28 TGTextButton *fClose; // OK button
29 TGLayoutHints *fL1; // layout of TGTextEdit
30 TGLayoutHints *fL2; // layout of OK button
31
32public:
34 virtual ~TSessionLogView();
35
36 void AddBuffer(const char *buffer);
37 void LoadBuffer(const char *buffer);
38 void LoadFile(const char *file);
39
41
42 void CloseWindow();
43 void ClearLogView();
44 void Popup();
45 void SetTitle();
46
47 ClassDef(TSessionLogView, 0) // PROOF progress dialog
48};
49
50#endif
#define h(i)
Definition RSha256.hxx:106
long Longptr_t
Definition RtypesCore.h:82
#define ClassDef(name, id)
Definition Rtypes.h:325
This class describes layout hints used by the layout classes.
Definition TGLayout.h:50
Yield an action as soon as it is clicked.
Definition TGButton.h:142
A TGTextView is a text viewer widget.
Definition TGTextView.h:22
Defines transient windows that typically are used for dialogs windows.
Definition TGFrame.h:499
Dialog used to display session logs from the session viewer.
TGLayoutHints * fL1
void LoadFile(const char *file)
Load a file in the editor.
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
Process OK button.
TGTextButton * fClose
void LoadBuffer(const char *buffer)
Load a text buffer in the editor.
TSessionViewer * fViewer
void AddBuffer(const char *buffer)
Load a text buffer in the editor.
virtual ~TSessionLogView()
TGTextView * fTextView
TGLayoutHints * fL2
void Popup()
Show editor.
void SetTitle()
Set title in editor window.
void CloseWindow()
Called when closed via window manager action.
void ClearLogView()
Clear log window.
Widget used to manage PROOF or local sessions, PROOF connections, queries construction and results ha...
Definition file.py:1