Audacity 3.2.0
|
#include <PopupMenuTable.h>
Public Types | |
enum | Type { Item , RadioItem , CheckItem } |
using | InitFunction = std::function< void(PopupMenuHandler &handler, wxMenu &menu, int id) > |
Public Member Functions | |
PopupMenuTableEntry (const Identifier &stringId, Type type_, int id_, const TranslatableString &caption_, wxCommandEventFunction func_, PopupMenuHandler &handler_, InitFunction init_={}) | |
~PopupMenuTableEntry () override | |
Public Member Functions inherited from Registry::SingleItem | |
~SingleItem () override=0 | |
Public Member Functions inherited from Registry::detail::BaseItem | |
BaseItem (const Identifier &internalName) | |
virtual | ~BaseItem () |
Public Attributes | |
Type | type |
int | id |
TranslatableString | caption |
wxCommandEventFunction | func |
PopupMenuHandler & | handler |
InitFunction | init |
Public Attributes inherited from Registry::detail::BaseItem | |
const Identifier | name |
OrderingHint | orderingHint |
Definition at line 43 of file PopupMenuTable.h.
using PopupMenuTableEntry::InitFunction = std::function< void( PopupMenuHandler &handler, wxMenu &menu, int id ) > |
Definition at line 46 of file PopupMenuTable.h.
Enumerator | |
---|---|
Item | |
RadioItem | |
CheckItem |
Definition at line 45 of file PopupMenuTable.h.
|
inline |
|
override |
Definition at line 16 of file PopupMenuTable.cpp.
TranslatableString PopupMenuTableEntry::caption |
Definition at line 51 of file PopupMenuTable.h.
wxCommandEventFunction PopupMenuTableEntry::func |
Definition at line 52 of file PopupMenuTable.h.
PopupMenuHandler& PopupMenuTableEntry::handler |
Definition at line 53 of file PopupMenuTable.h.
int PopupMenuTableEntry::id |
Definition at line 50 of file PopupMenuTable.h.
InitFunction PopupMenuTableEntry::init |
Definition at line 54 of file PopupMenuTable.h.
Type PopupMenuTableEntry::type |
Definition at line 49 of file PopupMenuTable.h.