#include <FileMenu.h>
Definition at line 19 of file FileMenu.h.
evdb::FileMenu::FileMenu |
( |
TGMenuBar * |
menubar, |
|
|
TGMainFrame * |
mf |
|
) |
| |
Definition at line 35 of file FileMenu.cxx.
38 fFileMenu =
new TGPopupMenu(gClient->GetRoot());
39 fLayout =
new TGLayoutHints(kLHintsTop | kLHintsLeft, 0, 4, 0, 0);
51 "evdb::FileMenu",
this,
"HandleFileMenu(int)");
54 menubar->AddPopup(
"&File",
fFileMenu,fLayout);
evdb::FileMenu::~FileMenu |
( |
| ) |
|
|
virtual |
int evdb::FileMenu::Close |
( |
| ) |
|
|
private |
void evdb::FileMenu::HandleFileMenu |
( |
int |
menu | ) |
|
int evdb::FileMenu::NoImpl |
( |
const char * |
m | ) |
|
|
private |
Definition at line 132 of file FileMenu.cxx.
135 s =
"Sorry action '"; s += method; s+=
"' is not implemented.\n";
139 "No implementation",s.c_str(),kMBIconExclamation);
const TGWindow * TopWindow()
int evdb::FileMenu::Open |
( |
| ) |
|
|
private |
Definition at line 81 of file FileMenu.cxx.
83 static TString
dir(
"");
85 const char* filetypes[] = {
"ROOT files",
"*.root",
90 finfo.fFileTypes = filetypes;
91 finfo.fIniDir = StrDup(
dir.Data());
const TGWindow * TopWindow()
int evdb::FileMenu::Print |
( |
| ) |
|
|
private |
int evdb::FileMenu::Quit |
( |
| ) |
|
|
private |
int evdb::FileMenu::Save |
( |
void |
| ) |
|
|
private |
int evdb::FileMenu::SaveAs |
( |
| ) |
|
|
private |
TGPopupMenu* evdb::FileMenu::fFileMenu |
|
private |
TGLayoutHints* evdb::FileMenu::fLayout |
|
private |
How to layout the menu.
Definition at line 41 of file FileMenu.h.
TGMainFrame* evdb::FileMenu::fMainFrame |
|
private |
Main graphics frame.
Definition at line 39 of file FileMenu.h.
The documentation for this class was generated from the following files: