RootUtils
UiUtils.h
1 #ifndef UiUtils_hh
2 #define UiUtils_hh 1
3 
4 #include <TList.h>
5 #include <TGMsgBox.h>
6 
12 namespace UiUtils {
21  void showMessageBox(const char *text, const char *title = "", EMsgBoxIcon icon = EMsgBoxIcon::kMBIconAsterisk);
22 
31  Int_t showMessageBoxYesNo(const char *text, const char *title = "", EMsgBoxIcon icon = EMsgBoxIcon::kMBIconQuestion);
32 
42  TList* getFilePaths(Bool_t isMultiple = kTRUE);
43 }
44 
45 #endif
Definition: RootUtils.cxx:157
Int_t showMessageBoxYesNo(const char *text, const char *title="", EMsgBoxIcon icon=EMsgBoxIcon::kMBIconQuestion)
Displays ROOT message question box with "Yes" and "No" buttons.
Definition: UiUtils.cpp:22
TList * getFilePaths(Bool_t isMultiple=kTRUE)
File picker dialog.
Definition: UiUtils.cpp:31
void showMessageBox(const char *text, const char *title="", EMsgBoxIcon icon=EMsgBoxIcon::kMBIconAsterisk)
Displays ROOT message box with OK button.
Definition: UiUtils.cpp:15