Definition at line 5 of file FWPopupMenu.cc.
◆ FWPopupMenu()
FWPopupMenu::FWPopupMenu |
( |
const TGWindow * |
p = nullptr , |
|
|
UInt_t |
w = 10 , |
|
|
UInt_t |
h = 10 , |
|
|
UInt_t |
options = 0 |
|
) |
| |
|
inline |
◆ HandleKey()
Bool_t FWPopupMenu::HandleKey |
( |
Event_t * |
event | ) |
|
|
inlineoverride |
Definition at line 29 of file FWPopupMenu.cc.
30 if (
event->fType != kGKeyPress)
35 gVirtualX->LookupString(
event,
tmp,
sizeof(
tmp), keysym);
37 TGMenuEntry* ce = fCurrent;
42 ce = (TGMenuEntry*)GetListOfEntries()->Before(ce);
43 while (ce && ((ce->GetType() == kMenuSeparator) || (ce->GetType() == kMenuLabel) ||
44 !(ce->GetStatus() & kMenuEnableMask))) {
45 ce = (TGMenuEntry*)GetListOfEntries()->Before(ce);
48 ce = (TGMenuEntry*)GetListOfEntries()->Last();
54 ce = (TGMenuEntry*)GetListOfEntries()->After(ce);
55 while (ce && ((ce->GetType() == kMenuSeparator) || (ce->GetType() == kMenuLabel) ||
56 !(ce->GetStatus() & kMenuEnableMask))) {
57 ce = (TGMenuEntry*)GetListOfEntries()->After(ce);
60 ce = (TGMenuEntry*)GetListOfEntries()->First();
67 ev.fType = kButtonRelease;
69 return HandleButton(&
ev);
73 void*
dummy =
nullptr;
74 return EndMenu(
dummy);
References ev, and createJobs::tmp.
◆ PoppedDown()
void FWPopupMenu::PoppedDown |
( |
| ) |
|
|
inlineoverride |
◆ PoppedUp()
void FWPopupMenu::PoppedUp |
( |
| ) |
|
|
inlineoverride |
Definition at line 18 of file FWPopupMenu.cc.
19 TGPopupMenu::PoppedUp();
20 gVirtualX->SetInputFocus(fId);
21 gVirtualX->GrabKey(fId, 0
l, kAnyModifier, kTRUE);
References cmsLHEtoEOSManager::l.