Molybden API
|
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 |
![]() | |
int32_t | id () const |
std::string | title () const |
void | setEnabled (bool enabled) |
bool | isEnabled () const |
![]() | |
MenuItemType | type () const |
Static Public Member Functions | |
static std::shared_ptr< CustomCheckboxMenuItem > | create (std::string title, CustomCheckboxMenuItemAction action, bool enabled=true, bool checked=false) |
static std::shared_ptr< CustomCheckboxMenuItem > | cast (std::shared_ptr< MenuItem > item) |
static std::shared_ptr< CustomCheckboxMenuItem > | fromId (int32_t id) |
Protected Member Functions | |
CustomCheckboxMenuItem (MenuItemType type, std::string title, CustomCheckboxMenuItemAction action, bool enabled=true, bool checked=false) | |
![]() | |
BaseCustomMenuItem (MenuItemType type, std::string title, bool enabled=true) | |
![]() | |
MenuItem (MenuItemType type) | |