Audacity 3.2.0
|
#include <BasicMenu.h>
Public Member Functions | |
Handle (wxMenu *pMenu) | |
Handle (const Handle &other)=delete | |
Handle & | operator= (const Handle &other)=delete |
void | Popup (const BasicUI::WindowPlacement &window, const Point &pos={}) |
Display the menu at pos, invoke at most one action, then hide it. More... | |
Private Attributes | |
wxMenu * | mpMenu |
Definition at line 25 of file BasicMenu.h.
|
inlineexplicit |
Definition at line 29 of file BasicMenu.h.
|
delete |
void BasicMenu::Handle::Popup | ( | const BasicUI::WindowPlacement & | window, |
const Point & | pos = {} |
||
) |
Display the menu at pos, invoke at most one action, then hide it.
Definition at line 209 of file BasicMenu.cpp.
References BasicMenu::anonymous_namespace{BasicMenu.cpp}::FindDescendants(), wxWidgetsWindowPlacement::GetParent(), Journal::IsReplaying(), JournalCode, mpMenu, Journal::Output(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::ReplayPopup(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::sHandledEvent, BasicMenu::anonymous_namespace{BasicMenu.cpp}::sMenuStack, BasicUI::Point::x, and BasicUI::Point::y.
Referenced by SelectionBar::AddSelectionSetupButton(), CommonTrackPanelCell::DoContextMenu(), AudioSetupToolBar::OnAudioSetup(), NumericTextCtrl::OnContext(), KeyConfigPrefs::OnDefaults(), EffectUIHost::OnMenu(), anonymous_namespace{SnappingToolBar.cpp}::SnapModePopup::OnPopup(), anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl::Popup(), LabelTrackView::ShowContextMenu(), AdornedRulerPanel::ShowMenu(), MeterPanel::ShowMenu(), and AdornedRulerPanel::ShowScrubMenu().
|
private |
Definition at line 39 of file BasicMenu.h.
Referenced by Popup().