Represents an item within a ToolBar.
More...
Represents an item within a ToolBar.
◆ Item()
nkWinUi::ToolBar::Item::Item |
( |
| ) |
|
|
noexcept |
◆ ~Item()
virtual nkWinUi::ToolBar::Item::~Item |
( |
| ) |
|
|
virtual |
◆ getLabel()
- Returns
- The label associated with the item.
◆ getCallback()
virtual std::function<void ()> nkWinUi::ToolBar::Item::getCallback |
( |
| ) |
const |
|
pure virtual |
- Returns
- The callback on selection associated with the item.
◆ getContextMenu()
virtual ContextMenu* nkWinUi::ToolBar::Item::getContextMenu |
( |
| ) |
const |
|
pure virtual |
- Returns
- The context menu with the item.
The documentation for this class was generated from the following file:
- Documentation/Headers/NilkinsWinUi/Components/ToolBar.h