RADLib
RADical C++ application framework
RADUi::MenuItem Struct Reference

One menu item in a MenuBarModel menu. More...

#include <RADWidgets.h>

Public Attributes

std::string id
 Stable id emitted when the item is triggered. More...
 
std::string text
 User-visible item text. More...
 
bool enabled = true
 Whether the item can be triggered. More...
 
bool checkable = false
 Whether the item has a checked state. More...
 
bool checked = false
 Current checked state. More...
 
bool separator = false
 Whether this item is a visual separator. More...
 

Detailed Description

One menu item in a MenuBarModel menu.

Member Data Documentation

◆ checkable

bool RADUi::MenuItem::checkable = false

Whether the item has a checked state.

◆ checked

bool RADUi::MenuItem::checked = false

Current checked state.

◆ enabled

bool RADUi::MenuItem::enabled = true

Whether the item can be triggered.

◆ id

std::string RADUi::MenuItem::id

Stable id emitted when the item is triggered.

◆ separator

bool RADUi::MenuItem::separator = false

Whether this item is a visual separator.

◆ text

std::string RADUi::MenuItem::text

User-visible item text.


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