2#include "BesVisLib/BesGMenuBar.h"
8 : TGMenuBar(p,
w, h, options)
27 if ((keycode =
t->GetHotKeyCode()) != 0) {
28 BindHotKey(keycode, kTRUE);
39 AddPopup(
new TGHotString(
s), menu, l, before);
50 if (
f->IsA() != BesGMenuTitle::Class()) {
51 Error(
"AddFrameBefore",
"may only add BesGMenuTitle objects to a menu bar");
62 nw =
new TGFrameElement;
64 nw->fLayout = l ? l : fgDefaultHints;
69 while ((el = (TGFrameElement *) next())) {
71 if (
t->GetMenu() == before) {
72 fList->AddBefore(el, nw);
82 if (i >= 0 && i < fTitles->GetSize())
return (
BesGMenuTitle*)fTitles->At(i);
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")