class

ANotificationBell

Module
Arc
Header
#include "Arc/Widgets/ANotificationBell.h"
Namespace
Arcf

Properties

TypeNameDescription
static constexpr floatkFlyoutWidthWidth of the history flyout (notification-bell.json behaviour). Default 360.0f.
static constexpr floatkFlyoutGapThe popover's gap to the status bar it opens from (popover.json placement). Default 6.0f.

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
std::vector<CMenuEntry>BuildHistoryEntriesThe flyout's rows, built from the notification history: what a click on the bell shows.
voidOpenHistory
boolIsHistoryOpen
ArcVec2ComputeDesiredSize
int32_tOnPaint
CReplyOnMouseButtonDown
CReplyOnMouseButtonUp
voidOnMouseEnter
voidOnMouseLeave
boolIsFocusable
boolOnActivate
floatGetFocusRadius
boolCanRetainPaintThe badge follows the notification history, which announces nothing.
EAccessibleRoleGetAccessibleRole
std::stringGetAccessibleName
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ANotificationBell) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)

BuildHistoryEntries

C++
static std::vector<CMenuEntry> BuildHistoryEntries()

The flyout's rows, built from the notification history: what a click on the bell shows.

OpenHistory

C++
void OpenHistory()

IsHistoryOpen

C++
bool IsHistoryOpen() const

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const override

OnMouseButtonDown

C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) override

OnMouseButtonUp

C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) override

OnMouseEnter

C++
void OnMouseEnter(const CGeometry& geo, const CPointerEvent& event) override

OnMouseLeave

C++
void OnMouseLeave(const CPointerEvent& event) override

IsFocusable

C++
bool IsFocusable() const override

OnActivate

C++
bool OnActivate() override

GetFocusRadius

C++
float GetFocusRadius() const override

CanRetainPaint

C++
bool CanRetainPaint() const override

The badge follows the notification history, which announces nothing.

GetAccessibleRole

C++
EAccessibleRole GetAccessibleRole() const override

GetAccessibleName

C++
std::string GetAccessibleName() const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from Arc/Widgets/ANotificationBell.h via arc.json · Nov 5, 2026Version 1.0.0