Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ToolbarItem Struct Reference

Single toolbar item. More...

#include <toolbar.hpp>

Public Attributes

std::string id
std::string label
std::string tooltip
ToolbarItemType type = ToolbarItemType::Button
bool enabled = true
bool toggled = false
std::function< void()> on_click
std::function< void(bool)> on_toggle
std::unique_ptr< View > custom_view

Detailed Description

Single toolbar item.

Member Data Documentation

◆ custom_view

std::unique_ptr<View> pulp::view::ToolbarItem::custom_view

◆ enabled

bool pulp::view::ToolbarItem::enabled = true

◆ id

std::string pulp::view::ToolbarItem::id

◆ label

std::string pulp::view::ToolbarItem::label

◆ on_click

std::function<void()> pulp::view::ToolbarItem::on_click

◆ on_toggle

std::function<void(bool)> pulp::view::ToolbarItem::on_toggle

◆ toggled

bool pulp::view::ToolbarItem::toggled = false

◆ tooltip

std::string pulp::view::ToolbarItem::tooltip

◆ type

ToolbarItemType pulp::view::ToolbarItem::type = ToolbarItemType::Button

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/toolbar.hpp