ROOT logo
// @(#)root/gui:$Id$
// Author: David Gonzalez Maline  19/07/2006

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGInputDialog
#define ROOT_TGInputDialog

///////////////////////////////////////////////////////////////////////////
//                                                                       //
// Input Dialog Widget                                                   //
//                                                                       //
// An Input dialog box                                                   //
//                                                                       //
///////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif

class TGLabel;
class TGTextEntry;
class TGTextButton;

class TGInputDialog : public TGTransientFrame {

private:
   TGLabel          *fLabel;   // text entry label
   TGTextEntry      *fTE;      // text entry widget
   TGTextButton     *fOk;      // ok button
   TGTextButton     *fCancel;  // cancel button
   char             *fRetStr;  // address to store return string

   TGInputDialog(const TGInputDialog&);  // Not implemented
   TGInputDialog &operator= (const TGInputDialog&); // Not implemented

public:
   TGInputDialog(const TGWindow *p = 0, const TGWindow *main = 0,
                 const char *prompt =0, const char *defval = 0, 
                 char *retstr = 0, UInt_t options = kVerticalFrame);
   ~TGInputDialog();
   virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t);

   ClassDef(TGInputDialog, 0)  // Simple input dialog

};

#endif
 TGInputDialog.h:1
 TGInputDialog.h:2
 TGInputDialog.h:3
 TGInputDialog.h:4
 TGInputDialog.h:5
 TGInputDialog.h:6
 TGInputDialog.h:7
 TGInputDialog.h:8
 TGInputDialog.h:9
 TGInputDialog.h:10
 TGInputDialog.h:11
 TGInputDialog.h:12
 TGInputDialog.h:13
 TGInputDialog.h:14
 TGInputDialog.h:15
 TGInputDialog.h:16
 TGInputDialog.h:17
 TGInputDialog.h:18
 TGInputDialog.h:19
 TGInputDialog.h:20
 TGInputDialog.h:21
 TGInputDialog.h:22
 TGInputDialog.h:23
 TGInputDialog.h:24
 TGInputDialog.h:25
 TGInputDialog.h:26
 TGInputDialog.h:27
 TGInputDialog.h:28
 TGInputDialog.h:29
 TGInputDialog.h:30
 TGInputDialog.h:31
 TGInputDialog.h:32
 TGInputDialog.h:33
 TGInputDialog.h:34
 TGInputDialog.h:35
 TGInputDialog.h:36
 TGInputDialog.h:37
 TGInputDialog.h:38
 TGInputDialog.h:39
 TGInputDialog.h:40
 TGInputDialog.h:41
 TGInputDialog.h:42
 TGInputDialog.h:43
 TGInputDialog.h:44
 TGInputDialog.h:45
 TGInputDialog.h:46
 TGInputDialog.h:47
 TGInputDialog.h:48
 TGInputDialog.h:49
 TGInputDialog.h:50
 TGInputDialog.h:51
 TGInputDialog.h:52
 TGInputDialog.h:53
 TGInputDialog.h:54