Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl Struct Reference
Inheritance diagram for anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl:
Collaboration diagram for anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl:

Public Member Functions

 PopupMenuImpl (void *pUserData_)
 ~PopupMenuImpl () override
void Popup (wxWindow &window, const wxPoint &pos) override
void Extend (PopupMenuTable *pTable)
- Public Member Functions inherited from PopupMenu
virtual ~PopupMenu ()
virtual void Popup (wxWindow &window, const wxPoint &pos)=0

Public Attributes

void * pUserData

Detailed Description

Definition at line 39 of file PopupMenuTable.cpp.

Constructor & Destructor Documentation

◆ PopupMenuImpl()

anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl::PopupMenuImpl ( void *  pUserData_)

Definition at line 41 of file PopupMenuTable.cpp.

◆ ~PopupMenuImpl()

anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl::~PopupMenuImpl ( )

Definition at line 122 of file PopupMenuTable.cpp.

124 // Event connections between the parent window and the singleton table
125 // object must be broken when this menu is destroyed.
126 Disconnect();

Member Function Documentation

◆ Extend()

void anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl::Extend ( PopupMenuTable pTable)

◆ Popup()

void anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl::Popup ( wxWindow &  window,
const wxPoint &  pos 

Implements PopupMenu.

Definition at line 129 of file PopupMenuTable.cpp.

131 BasicMenu::Handle{ this }.Popup(
132 wxWidgetsWindowPlacement{ &window }, { pos.x, pos.y }
133 );
void Popup(const BasicUI::WindowPlacement &window, const Point &pos={})
Display the menu at pos, invoke at most one action, then hide it.
Definition: BasicMenu.cpp:209
Window placement information for wxWidgetsBasicUI can be constructed from a wxWindow pointer.

References BasicMenu::Handle::Popup().

Here is the call graph for this function:

Member Data Documentation

◆ pUserData

void* anonymous_namespace{PopupMenuTable.cpp}::PopupMenuImpl::pUserData

Definition at line 50 of file PopupMenuTable.cpp.

The documentation for this struct was generated from the following file: