TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::BannerAction Struct Reference

A banner's button or link, right-aligned after its message. More...

#include <gui_controls/gui_notification_types.h>

Public Attributes

std::string_view label
std::function< void()> onClick
BannerActionKind kind = BannerActionKind::Secondary

Detailed Description

A banner's button or link, right-aligned after its message.

Member Data Documentation

◆ label

std::string_view tachyon::BannerAction::label

◆ onClick

std::function<void()> tachyon::BannerAction::onClick

◆ kind

BannerActionKind tachyon::BannerAction::kind = BannerActionKind::Secondary

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