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

Public Member Functions

 CustomCheckboxMenuItem (std::string title, CustomCheckboxMenuItemAction action, bool enabled=true, bool checked=false)
 
bool isChecked () const
 
void setChecked (bool checked)
 
CustomCheckboxMenuItemAction action () const
 
- Public Member Functions inherited from molybden::BaseCustomMenuItem
int32_t id () const
 
std::string title () const
 
void setEnabled (bool enabled)
 
bool isEnabled () const
 
- Public Member Functions inherited from molybden::MenuItem
MenuItemType type () const
 

Static Public Member Functions

static std::shared_ptr< CustomCheckboxMenuItemcreate (std::string title, CustomCheckboxMenuItemAction action, bool enabled=true, bool checked=false)
 
static std::shared_ptr< CustomCheckboxMenuItemcast (std::shared_ptr< MenuItem > item)
 
static std::shared_ptr< CustomCheckboxMenuItemfromId (int32_t id)
 

Protected Member Functions

 CustomCheckboxMenuItem (MenuItemType type, std::string title, CustomCheckboxMenuItemAction action, bool enabled=true, bool checked=false)
 
- Protected Member Functions inherited from molybden::BaseCustomMenuItem
 BaseCustomMenuItem (MenuItemType type, std::string title, bool enabled=true)
 
- Protected Member Functions inherited from molybden::MenuItem
 MenuItem (MenuItemType type)
 

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