Logo ROOT  
Reference Guide
TTreeInput.h
Go to the documentation of this file.
1// @(#)root/gui:$Id$
2// Author: David Gonzalez Maline 21/10/2008
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, 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_TTreeInput
13#define ROOT_TTreeInput
14
15
16#include "TGFrame.h"
17
18class TGLabel;
19class TGTextEntry;
20class TGTextButton;
21
23
24private:
25 TGTextEntry *fTEVars; ///< text entry widget for variables
26 TGTextEntry *fTECuts; ///< text entry widget for cuts
27 TGTextButton *fOk; ///< ok button
28 TGTextButton *fCancel; ///< cancel button
29 char *fStrvars; ///< address to store variables string
30 char *fStrcuts; ///< address to store cuts string
31
32 TTreeInput(const TTreeInput&); // Not implemented
33 TTreeInput &operator= (const TTreeInput&); // Not implemented
34
35public:
36 TTreeInput(const TGWindow *p, const TGWindow *main,
37 char *strvars, char* strcuts);
40
41 ClassDef(TTreeInput, 0) // Simple input dialog
42
43};
44
45#endif
long Longptr_t
Definition: RtypesCore.h:82
bool Bool_t
Definition: RtypesCore.h:63
#define ClassDef(name, id)
Definition: Rtypes.h:325
int main(int argc, char *argv[])
Definition: cef_main.cxx:54
This class handles GUI labels.
Definition: TGLabel.h:24
Yield an action as soon as it is clicked.
Definition: TGButton.h:142
A TGTextEntry is a one line text input widget.
Definition: TGTextEntry.h:24
Defines transient windows that typically are used for dialogs windows.
Definition: TGFrame.h:499
ROOT GUI Window base class.
Definition: TGWindow.h:23
Tree Input Dialog Widget.
Definition: TTreeInput.h:22
virtual Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t)
Handle button and text enter events.
Definition: TTreeInput.cxx:133
TGTextButton * fOk
ok button
Definition: TTreeInput.h:27
char * fStrcuts
address to store cuts string
Definition: TTreeInput.h:30
char * fStrvars
address to store variables string
Definition: TTreeInput.h:29
TTreeInput & operator=(const TTreeInput &)
~TTreeInput()
Cleanup dialog.
Definition: TTreeInput.cxx:125
TTreeInput(const TTreeInput &)
TGTextEntry * fTECuts
text entry widget for cuts
Definition: TTreeInput.h:26
TGTextEntry * fTEVars
text entry widget for variables
Definition: TTreeInput.h:25
TGTextButton * fCancel
cancel button
Definition: TTreeInput.h:28