Audacity  3.0.3
Public Member Functions | List of all members
PopupMenuHandler Class Referenceabstract

#include <PopupMenuTable.h>

Inheritance diagram for PopupMenuHandler:
Collaboration diagram for PopupMenuHandler:

Public Member Functions

 PopupMenuHandler ()=default
 PopupMenuHandler (const PopupMenuHandler &)=delete
PopupMenuHandleroperator= (const PopupMenuHandler &)=delete
virtual void InitUserData (void *pUserData)=0
 Called before the menu items are appended. More...

Detailed Description

Definition at line 84 of file PopupMenuTable.h.

Constructor & Destructor Documentation

◆ PopupMenuHandler() [1/2]

PopupMenuHandler::PopupMenuHandler ( )

◆ PopupMenuHandler() [2/2]

PopupMenuHandler::PopupMenuHandler ( const PopupMenuHandler )

Member Function Documentation

◆ InitUserData()

virtual void PopupMenuHandler::InitUserData ( void *  pUserData)
pure virtual

Called before the menu items are appended.

Store context data, if needed. May be called more than once before the menu opens. Pointer remains valid for the duration of any callback, if PopupMenuTable::BuildMenu() is called and the result's Popup() is called before any other menus are built.

Implemented in TrackMenuTable, TimeTrackMenuTable, WaveTrackVRulerMenuTable, WaveTrackMenuTable, RateMenuTable, FormatMenuTable, WaveColorMenuTable, anonymous_namespace{SpectrumView.cpp}::SpectrogramSettingsHandler, NoteTrackVRulerMenuTable, NoteTrackMenuTable, and LabelTrackMenuTable.

Referenced by PopupMenuTable::Get().

Here is the caller graph for this function:

◆ operator=()

PopupMenuHandler& PopupMenuHandler::operator= ( const PopupMenuHandler )

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