Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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);
38 ~TTreeInput() override;
40
41 ClassDefOverride(TTreeInput, 0) // Simple input dialog
42
43};
44
45#endif
int main()
Definition Prototype.cxx:12
long Longptr_t
Definition RtypesCore.h:75
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
winID h TVirtualViewer3D TVirtualGLPainter p
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:498
ROOT GUI Window base class.
Definition TGWindow.h:23
Tree Input Dialog Widget.
Definition TTreeInput.h:22
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(const TTreeInput &)
TGTextEntry * fTECuts
text entry widget for cuts
Definition TTreeInput.h:26
~TTreeInput() override
Cleanup dialog.
TGTextEntry * fTEVars
text entry widget for variables
Definition TTreeInput.h:25
TGTextButton * fCancel
cancel button
Definition TTreeInput.h:28
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t) override
Handle button and text enter events.