Molybden API
Loading...
Searching...
No Matches
molybden::CustomContextMenuItem Class Reference
Inheritance diagram for molybden::CustomContextMenuItem:
molybden::ContextMenuItem

Public Member Functions

 CustomContextMenuItem (std::string title, CustomContextMenuItemAction action, bool enabled=true)
 
int32_t id () const
 
std::string title () const
 
bool isEnabled () const
 
CustomContextMenuItemAction action () const
 
- Public Member Functions inherited from molybden::ContextMenuItem
ContextMenuItemType type () const
 

Static Public Member Functions

static std::shared_ptr< CustomContextMenuItemcreate (std::string title, CustomContextMenuItemAction action, bool enabled=true)
 
static std::shared_ptr< CustomContextMenuItemcast (std::shared_ptr< ContextMenuItem > item)
 
static std::shared_ptr< CustomContextMenuItemfromId (int32_t id)
 

Protected Member Functions

 CustomContextMenuItem (ContextMenuItemType type, std::string title, CustomContextMenuItemAction action, bool enabled=true)
 
- Protected Member Functions inherited from molybden::ContextMenuItem
 ContextMenuItem (ContextMenuItemType type)
 

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