class

AKeyMapping

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

Properties

TypeNameDescription
ArcDelegate<void(int32_t, const CInputChord&)>OnBindingCaptured
ArcDelegate<void(int32_t)>OnBindingAdded
ArcDelegate<void(int32_t)>OnBindingRemoved

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
voidSetBindings
const std::vector<FArcKeyBinding>&GetBindings
voidAddBindingWhat + does: appends an empty row and starts its capture.
voidRemoveBinding
TSharedPtr<AKeyCaptureField>GetCaptureFieldThe capture field of a row, for hosts and tests.
voidSetCollapsedFolds the card to its header (the header chevron does the same).
boolIsCollapsed
ArcVec2ComputeDesiredSize
voidArrangeChildren
int32_tOnPaint
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(AKeyMapping) ARC_ARG(std::string, Action) ARC_ARG(std::string, ValueType) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)

SetBindings

C++
void SetBindings(std::vector<FArcKeyBinding> bindings)

GetBindings

C++
const std::vector<FArcKeyBinding>& GetBindings() const

AddBinding

C++
void AddBinding()

What + does: appends an empty row and starts its capture.

RemoveBinding

C++
void RemoveBinding(int32_t index)

GetCaptureField

C++
TSharedPtr<AKeyCaptureField> GetCaptureField(int32_t index) const

The capture field of a row, for hosts and tests.

SetCollapsed

C++
void SetCollapsed(bool collapsed)

Folds the card to its header (the header chevron does the same).

IsCollapsed

C++
bool IsCollapsed() 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

GetTypeName

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