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

Toolbar button descriptor. More...

#include <RADWidgets.h>

Public Attributes

std::string id
 Stable id emitted when triggered. More...
 
std::string text
 Display text. More...
 
std::string icon
 Optional icon name/path. More...
 
bool enabled = true
 Whether the button can be triggered. More...
 
bool separator = false
 Whether this item is a visual separator. More...
 

Detailed Description

Toolbar button descriptor.

Member Data Documentation

◆ enabled

bool RADUi::ToolButton::enabled = true

Whether the button can be triggered.

◆ icon

std::string RADUi::ToolButton::icon

Optional icon name/path.

◆ id

std::string RADUi::ToolButton::id

Stable id emitted when triggered.

◆ separator

bool RADUi::ToolButton::separator = false

Whether this item is a visual separator.

◆ text

std::string RADUi::ToolButton::text

Display text.


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