TRootDialog


class description - source file - inheritance tree

class TRootDialog : public TGTransientFrame


    public:
TRootDialog TRootDialog(TRootContextMenu* cmenu, const TGWindow* main, const char* title, Bool_t okB = kTRUE, Bool_t cancelB = kTRUE, Bool_t applyB = kFALSE) TRootDialog TRootDialog(TRootDialog&) virtual void ~TRootDialog() virtual void Add(const char* argname, const char* value, const char* type) static TClass* Class() virtual void CloseWindow() virtual const char* GetParameters() const virtual TClass* IsA() const virtual void Popup() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(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) : TGTransientFrame(gClient->GetRoot(), main, 200, 100)
 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.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
        TRootDialog TRootDialog(TRootDialog&)


Author: Fons Rademakers 20/02/98
Last update: root/gui:$Name: $:$Id: TRootDialog.cxx,v 1.1.1.1 2000/05/16 17:00:42 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.