A user-defined callback that can be used for specific items in a popup menu. More...
#include <juce_PopupMenu.h>
Public Member Functions | |
CustomCallback () | |
~CustomCallback () override | |
virtual bool | menuItemTriggered ()=0 |
Callback to indicate this item has been triggered. | |
Public Member Functions inherited from SingleThreadedReferenceCountedObject | |
void | incReferenceCount () noexcept |
Increments the object's reference count. | |
void | decReferenceCount () noexcept |
Decreases the object's reference count. | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. | |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. | |
Additional Inherited Members | |
Protected Member Functions inherited from SingleThreadedReferenceCountedObject | |
SingleThreadedReferenceCountedObject ()=default | |
Creates the reference-counted object (with an initial ref count of zero). | |
SingleThreadedReferenceCountedObject (const SingleThreadedReferenceCountedObject &) | |
Copying from another object does not affect this one's reference-count. | |
SingleThreadedReferenceCountedObject (SingleThreadedReferenceCountedObject &&) | |
Copying from another object does not affect this one's reference-count. | |
SingleThreadedReferenceCountedObject & | operator= (const SingleThreadedReferenceCountedObject &) |
Copying from another object does not affect this one's reference-count. | |
SingleThreadedReferenceCountedObject & | operator= (SingleThreadedReferenceCountedObject &&) |
Copying from another object does not affect this one's reference-count. | |
virtual | ~SingleThreadedReferenceCountedObject () |
Destructor. | |
A user-defined callback that can be used for specific items in a popup menu.
PopupMenu::CustomCallback::CustomCallback | ( | ) |
|
override |
|
pure virtual |
Callback to indicate this item has been triggered.