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

#include <PopupMenuTable.h>

Inheritance diagram for PopupMenuHandler:
[legend]
Collaboration diagram for PopupMenuHandler:
[legend]

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 96 of file PopupMenuTable.h.

Constructor & Destructor Documentation

◆ PopupMenuHandler() [1/2]

PopupMenuHandler::PopupMenuHandler ( )
default

◆ PopupMenuHandler() [2/2]

PopupMenuHandler::PopupMenuHandler ( const PopupMenuHandler )
delete

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 LabelTrackMenuTable, NoteTrackMenuTable, NoteTrackVRulerMenuTable, anonymous_namespace{SpectrumView.cpp}::SpectrogramSettingsHandler, WaveChannelVRulerMenuTable, WaveColorMenuTable, FormatMenuTable, RateMenuTable, WaveTrackMenuTable, TimeTrackMenuTable, and TrackMenuTable.

◆ operator=()

PopupMenuHandler & PopupMenuHandler::operator= ( const PopupMenuHandler )
delete

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