class

APopover

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

Properties

TypeNameDescription
ArcDelegate<void()>OnConfirm
ArcDelegate<void()>OnDismiss

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGSThe confirm's icon tile in ModAccent (editor-mod-mode) instead of Info.
voidConstruct
ArcRectPlaceWhere a popover of this size goes for an anchor: above it with the 6 px gap, left-aligned, kept inside the viewport (below the anchor when there is no room above).
floatGetWidth
floatGetHeaderHeight
ArcVec2ComputeDesiredSize
voidArrangeChildren
int32_tOnPaint
CReplyOnKeyDown
int32_tGetNumChildren
TSharedPtr<AWidget>GetChildAt
boolIsFocusable
EFocusVisualGetFocusVisual
boolPaintsOwnFocusFocus on the popover is focus on the open panel itself: its frame is what says where the keyboard is, as a dialog's does.
EAccessibleRoleGetAccessibleRole
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(APopover) ARC_ARG(EArcPopoverVariant, Variant) ARC_ARG(std::string, Title) ARC_ARG(std::string, Message) ARC_ARG(std::string, Icon) ARC_ARG(std::string, ConfirmLabel) ARC_ARG(std::string, CancelLabel) ARC_ARG(float, Width) ARC_ARG(TSharedPtr<AWidget>, FooterLeft) ARC_ARG(bool, ModIcon) ARC_CONTENT(APopover, Body) ARC_WIDGET_ARGS_END() static constexpr float kAnchorGap = 6.0f

The confirm's icon tile in ModAccent (editor-mod-mode) instead of Info.

Construct

C++
void Construct(const CArguments& args)

Place

C++
static ArcRect Place(const ArcRect& anchor, const ArcVec2& size, const ArcRect& viewport)

Where a popover of this size goes for an anchor: above it with the 6 px gap, left-aligned, kept inside the viewport (below the anchor when there is no room above).

GetWidth

C++
float GetWidth() const

GetHeaderHeight

C++
float GetHeaderHeight() const

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

OnPaint

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

OnKeyDown

C++
CReply OnKeyDown(const CGeometry& geo, const CKeyEvent& event) override

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

C++
TSharedPtr<AWidget> GetChildAt(int32_t index) const override

IsFocusable

C++
bool IsFocusable() const override

GetFocusVisual

C++
EFocusVisual GetFocusVisual() const override

PaintsOwnFocus

C++
bool PaintsOwnFocus() const override

Focus on the popover is focus on the open panel itself: its frame is what says where the keyboard is, as a dialog's does.

GetAccessibleRole

C++
EAccessibleRole GetAccessibleRole() const override

GetTypeName

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