2 #include "KeySymbols.h" 8 AddInput(kKeyPressMask);
18 TGPopupMenu::PoppedUp();
19 gVirtualX->SetInputFocus(fId);
20 gVirtualX->GrabKey(fId, 0
l, kAnyModifier, kTRUE);
24 gVirtualX->GrabKey(fId, 0
l, kAnyModifier, kFALSE);
25 TGPopupMenu::PoppedDown();
29 if (event->fType != kGKeyPress)
34 gVirtualX->LookupString(event, tmp,
sizeof(tmp), keysym);
36 TGMenuEntry* ce = fCurrent;
41 ce = (TGMenuEntry*)GetListOfEntries()->Before(ce);
42 while (ce && ((ce->GetType() == kMenuSeparator) || (ce->GetType() == kMenuLabel) ||
43 !(ce->GetStatus() & kMenuEnableMask))) {
44 ce = (TGMenuEntry*)GetListOfEntries()->Before(ce);
47 ce = (TGMenuEntry*)GetListOfEntries()->Last();
53 ce = (TGMenuEntry*)GetListOfEntries()->After(ce);
54 while (ce && ((ce->GetType() == kMenuSeparator) || (ce->GetType() == kMenuLabel) ||
55 !(ce->GetStatus() & kMenuEnableMask))) {
56 ce = (TGMenuEntry*)GetListOfEntries()->After(ce);
59 ce = (TGMenuEntry*)GetListOfEntries()->First();
66 ev.fType = kButtonRelease;
68 return HandleButton(&ev);
72 void*
dummy =
nullptr;
73 return EndMenu(dummy);
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.