Warning, file /include/root/TRootDialog.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TRootDialog
0013 #define ROOT_TRootDialog
0014
0015
0016 #include "TGFrame.h"
0017
0018 class TRootContextMenu;
0019
0020
0021 class TRootDialog : public TGTransientFrame {
0022
0023 private:
0024 TRootContextMenu *fMenu;
0025 TGLayoutHints *fL1;
0026 TGLayoutHints *fL2;
0027 TList *fWidgets;
0028 Bool_t fOk;
0029 Bool_t fCancel;
0030 Bool_t fApply;
0031 Bool_t fHelp;
0032
0033 public:
0034 TRootDialog(TRootContextMenu *cmenu = nullptr, const TGWindow *main = nullptr,
0035 const char *title = "ROOT Dialog", Bool_t okB = kTRUE,
0036 Bool_t cancelB = kTRUE, Bool_t applyB = kFALSE,
0037 Bool_t helpB = kTRUE);
0038 ~TRootDialog() override;
0039
0040 virtual void Add(const char *argname, const char *value, const char *type);
0041
0042
0043 virtual const char *GetParameters();
0044
0045 void CloseWindow() override;
0046 virtual void Popup();
0047 Bool_t HandleKey(Event_t *event) override;
0048
0049 void TabPressed();
0050
0051 ClassDefOverride(TRootDialog,0)
0052 };
0053
0054 #endif
0055