File indexing completed on 2025-01-18 10:11:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TGInputDialog
0013 #define ROOT_TGInputDialog
0014
0015
0016 #include "TGFrame.h"
0017
0018 class TGLabel;
0019 class TGTextEntry;
0020 class TGTextButton;
0021
0022 class TGInputDialog : public TGTransientFrame {
0023
0024 private:
0025 TGLabel *fLabel{nullptr};
0026 TGTextEntry *fTE{nullptr};
0027 TGTextButton *fOk{nullptr};
0028 TGTextButton *fCancel{nullptr};
0029 char *fRetStr{nullptr};
0030 char *fOwnBuf{nullptr};
0031
0032 TGInputDialog(const TGInputDialog&) = delete;
0033 TGInputDialog &operator= (const TGInputDialog&) = delete;
0034
0035 public:
0036 TGInputDialog(const TGWindow *p = nullptr, const TGWindow *main = nullptr,
0037 const char *prompt = nullptr, const char *defval = nullptr,
0038 char *retstr = nullptr, UInt_t options = kVerticalFrame);
0039 ~TGInputDialog() override;
0040
0041 Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t) override;
0042
0043 ClassDefOverride(TGInputDialog, 0)
0044
0045 };
0046
0047 #endif