Navigation
API > API/Runtime > API/Runtime/Slate
Represents a context in which input bindings are valid
| Name | FBindingContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Commands/UICommandInfo.h |
| Include Path | #include "Framework/Commands/UICommandInfo.h" |
Syntax
class FBindingContext : public TSharedFromThis< FBindingContext >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FBindingContext
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBindingContext
(
const FBindingContext& |
Framework/Commands/UICommandInfo.h | ||
| Framework/Commands/UICommandInfo.h | |||
FBindingContext
(
const FName InContextName, |
Constructor | Framework/Commands/UICommandInfo.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CommandsChanged | FOnBindingContextChanged | A delegate that is called when commands are registered or unregistered with a binding context | Framework/Commands/UICommandInfo.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bundles | TMap< FName, FText > | A list of command bundles and their friendly names that can be referenced in this context | Framework/Commands/UICommandInfo.h | |
| ContextDesc | FText | The description of the context | Framework/Commands/UICommandInfo.h | |
| ContextName | FName | The name of the context | Framework/Commands/UICommandInfo.h | |
| ContextParent | FName | The name of the parent context | Framework/Commands/UICommandInfo.h | |
| StyleSetName | FName | The style set to find the icons in | Framework/Commands/UICommandInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Adds a new command bundle to this context that can be referenced by name from commands within the context. | Framework/Commands/UICommandInfo.h | ||
| Gets a localized label of a command bundle | Framework/Commands/UICommandInfo.h | ||
const FText & GetContextDesc() |
Framework/Commands/UICommandInfo.h | ||
FName GetContextName() |
Framework/Commands/UICommandInfo.h | ||
FName GetContextParent() |
Framework/Commands/UICommandInfo.h | ||
FName GetStyleSetName() |
Framework/Commands/UICommandInfo.h | ||
FUICommandInfoDecl NewCommand
(
const FName InCommandName, |
Creates a new command declaration used to populate commands with data | Framework/Commands/UICommandInfo.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBindingContext & operator=
(
const FBindingContext& |
Framework/Commands/UICommandInfo.h | ||
FBindingContext & operator=
(
FBindingContext&& |
Framework/Commands/UICommandInfo.h | ||
bool operator==
(
const FBindingContext& Other |
Framework/Commands/UICommandInfo.h |