class
AKeyMapping
- Module
- Arc
- Header
#include "Arc/Widgets/AKeyMapping.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
ArcDelegate<void(int32_t, const CInputChord&)> | OnBindingCaptured | |
ArcDelegate<void(int32_t)> | OnBindingAdded | |
ArcDelegate<void(int32_t)> | OnBindingRemoved |
Public functions
| Returns | Name | Description |
|---|---|---|
ARC_WIDGET_ARGS | ||
void | SetBindings | |
const std::vector<FArcKeyBinding>& | GetBindings | |
void | AddBinding | What + does: appends an empty row and starts its capture. |
void | RemoveBinding | |
TSharedPtr<AKeyCaptureField> | GetCaptureField | The capture field of a row, for hosts and tests. |
void | SetCollapsed | Folds the card to its header (the header chevron does the same). |
bool | IsCollapsed | |
ArcVec2 | ComputeDesiredSize | |
void | ArrangeChildren | |
int32_t | OnPaint | |
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() constAddBinding
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) constThe 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() constComputeDesiredSize
C++
ArcVec2 ComputeDesiredSize(float scale) const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Arc/Widgets/AKeyMapping.h via arc.json · Nov 5, 2026Version 1.0.0