Molybden API
Loading...
Searching...
No Matches
molybden::CustomMenuItem Class Reference
Inheritance diagram for molybden::CustomMenuItem:
molybden::MenuItem

Public Member Functions

 CustomMenuItem (std::string title, CustomMenuItemAction action, bool enabled=true)
 
int32_t id () const
 
std::string title () const
 
void setEnabled (bool enabled)
 
bool isEnabled () const
 
CustomMenuItemAction action () const
 
- Public Member Functions inherited from molybden::MenuItem
MenuItemType type () const
 

Static Public Member Functions

static std::shared_ptr< CustomMenuItemcreate (std::string title, CustomMenuItemAction action, bool enabled=true)
 
static std::shared_ptr< CustomMenuItemcast (std::shared_ptr< MenuItem > item)
 
static std::shared_ptr< CustomMenuItemfromId (int32_t id)
 

Protected Member Functions

 CustomMenuItem (MenuItemType type, std::string title, CustomMenuItemAction action, bool enabled=true)
 
- Protected Member Functions inherited from molybden::MenuItem
 MenuItem (MenuItemType type)
 

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