ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
gui
gui
inc
TGInputDialog.h
Go to the documentation of this file.
1
// @(#)root/gui:$Id$
2
// Author: David Gonzalez Maline 19/07/2006
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_TGInputDialog
13
#define ROOT_TGInputDialog
14
15
///////////////////////////////////////////////////////////////////////////
16
// //
17
// Input Dialog Widget //
18
// //
19
// An Input dialog box //
20
// //
21
///////////////////////////////////////////////////////////////////////////
22
23
#ifndef ROOT_TGFrame
24
#include "
TGFrame.h
"
25
#endif
26
27
class
TGLabel
;
28
class
TGTextEntry
;
29
class
TGTextButton
;
30
31
class
TGInputDialog
:
public
TGTransientFrame
{
32
33
private
:
34
TGLabel
*
fLabel
;
// text entry label
35
TGTextEntry
*
fTE
;
// text entry widget
36
TGTextButton
*
fOk
;
// ok button
37
TGTextButton
*
fCancel
;
// cancel button
38
char
*
fRetStr
;
// address to store return string
39
40
TGInputDialog
(
const
TGInputDialog
&);
// Not implemented
41
TGInputDialog
&
operator=
(
const
TGInputDialog
&);
// Not implemented
42
43
public
:
44
TGInputDialog
(
const
TGWindow
*p = 0,
const
TGWindow
*
main
= 0,
45
const
char
*prompt =0,
const
char
*defval = 0,
46
char
*retstr = 0,
UInt_t
options =
kVerticalFrame
);
47
~TGInputDialog
();
48
virtual
Bool_t
ProcessMessage
(
Long_t
msg,
Long_t
parm1,
Long_t
);
49
50
ClassDef
(
TGInputDialog
, 0)
// Simple input dialog
51
52
};
53
54
#endif
TGInputDialog::fRetStr
char * fRetStr
Definition:
TGInputDialog.h:38
TGTextButton
Definition:
TGButton.h:146
TGInputDialog::fCancel
TGTextButton * fCancel
Definition:
TGInputDialog.h:37
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TGTextEntry
Definition:
TGTextEntry.h:45
TGInputDialog::fLabel
TGLabel * fLabel
Definition:
TGInputDialog.h:34
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TGInputDialog::~TGInputDialog
~TGInputDialog()
Cleanup dialog.
Definition:
TGInputDialog.cxx:133
TGFrame.h
TGWindow
Definition:
TGWindow.h:38
TGTransientFrame
Definition:
TGFrame.h:591
hsum.main
tuple main
Definition:
hsum.py:20
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TGInputDialog::TGInputDialog
TGInputDialog(const TGInputDialog &)
TGInputDialog::fTE
TGTextEntry * fTE
Definition:
TGInputDialog.h:35
Long_t
long Long_t
Definition:
RtypesCore.h:50
TGInputDialog::fOk
TGTextButton * fOk
Definition:
TGInputDialog.h:36
TGInputDialog::operator=
TGInputDialog & operator=(const TGInputDialog &)
TGInputDialog
Definition:
TGInputDialog.h:31
TGInputDialog::ProcessMessage
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
Handle button and text enter events.
Definition:
TGInputDialog.cxx:141
kVerticalFrame
Definition:
TGFrame.h:75
TGLabel
Definition:
TGLabel.h:38