class

ARadioButton

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

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
voidSetIsSelected
boolIsSelected
voidSetGroup
const TSharedPtr<CRadioGroup>&GetGroup
voidSetLabel
const std::string&GetLabel
voidSetHasError
boolHasError
floatGetSize
floatGetFocusRadius
ArcVec2ComputeDesiredSize
int32_tOnPaint
CReplyOnMouseButtonDown
CReplyOnMouseButtonUp
CReplyOnMouseMove
CReplyOnKeyDown
voidOnMouseEnter
voidOnMouseLeave
boolCanCacheDesiredSizeA square from the spec plus the label; a style swap goes through InvalidateAllWidgets, which the cache already honours.
boolCanRetainPaintSelection and hover are the only things it paints from, and both arrive through a setter that invalidates.
const char*GetTypeName
EAccessibleRoleGetAccessibleRole
std::stringGetAccessibleValue
boolIsFocusable
boolOnActivate

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ARadioButton) ARC_ATTR(bool, IsSelected) ARC_EVENT(COnBoolChanged, OnSelectionChanged) ARC_ARG(float, SizeOverride) ARC_ARG(std::string, Label) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)

SetIsSelected

C++
void SetIsSelected(bool selected)

IsSelected

C++
bool IsSelected() const

SetGroup

C++
void SetGroup(const TSharedPtr<CRadioGroup>& group)

GetGroup

C++
const TSharedPtr<CRadioGroup>& GetGroup() const

SetLabel

C++
void SetLabel(const std::string& label)

GetLabel

C++
const std::string& GetLabel() const

SetHasError

C++
void SetHasError(bool hasError)

HasError

C++
bool HasError() const

GetSize

C++
float GetSize() const

GetFocusRadius

C++
float GetFocusRadius() const override

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

OnMouseMove

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

OnKeyDown

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

OnMouseEnter

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

OnMouseLeave

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

CanCacheDesiredSize

C++
bool CanCacheDesiredSize() const override

A square from the spec plus the label; a style swap goes through InvalidateAllWidgets, which the cache already honours.

CanRetainPaint

C++
bool CanRetainPaint() const override

Selection and hover are the only things it paints from, and both arrive through a setter that invalidates. No animation to freeze.

GetTypeName

C++
const char* GetTypeName() const override

GetAccessibleRole

C++
EAccessibleRole GetAccessibleRole() const override

GetAccessibleValue

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

IsFocusable

C++
bool IsFocusable() const override

OnActivate

C++
bool OnActivate() override
Generated from Arc/Widgets/ARadioButton.h via arc.json · Nov 5, 2026Version 1.0.0