library: libGui
#include "TRootDialog.h"

TRootDialog


class description - header file - source file - inheritance tree (.pdf)

class TRootDialog : public TGTransientFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGMainFrame
<-
TGTransientFrame
<-
TRootDialog

    public:
TRootDialog(TRootContextMenu* cmenu = 0, const TGWindow* main = 0, const char* title = "ROOT Dialog", Bool_t okB = kTRUE, Bool_t cancelB = kTRUE, Bool_t applyB = kFALSE) TRootDialog(const TRootDialog&) virtual ~TRootDialog() virtual void Add(const char* argname, const char* value, const char* type) static TClass* Class() virtual void CloseWindow() virtual const char* GetParameters() virtual TClass* IsA() const virtual void Popup() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TRootContextMenu* fMenu associated context menu TGLayoutHints* fL1 label layout TGLayoutHints* fL2 text entry layout TList* fWidgets label and text field widgets created in dialog Bool_t fOk if true show OK button Bool_t fCancel if true show Cancel button Bool_t fApply if true show Apply button

Class Description

                                                                      
 TRootDialog                                                          
                                                                      
 A TRootDialog is used to prompt for the arguments of an object's     
 member function. A TRootDialog is created via the context menu's     
 when selecting a member function taking arguments.                   
                                                                      

TRootDialog(TRootContextMenu *cmenu, const TGWindow *main, const char *title, Bool_t okB, Bool_t cancelB, Bool_t applyB)
 Create a method argument prompt dialog.
~TRootDialog()
 Delete the dialog.
void Add(const char *argname, const char *value, const char *type)
 Add a label and text input field.
const char * GetParameters()
 Get parameter string (called by contextmenu after OK or Apply has
 been selected).
void Popup()
 Popup dialog.
void CloseWindow()
 Called when closed via window manager action.
TRootDialog(TRootContextMenu *cmenu = 0, const TGWindow *main = 0, const char *title = "ROOT Dialog", Bool_t okB = kTRUE, Bool_t cancelB = kTRUE, Bool_t applyB = kFALSE)

Author: Fons Rademakers 20/02/98
Last update: root/gui:$Name: $:$Id: TRootDialog.cxx,v 1.7 2006/04/11 06:56:27 antcheva Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.