Navigation
API > API/Developer > API/Developer/WidgetRegistration
Inheritance Hierarchy
- TSharedFromThis
- FToolElementRegistrationArgs
- FSeparatorBuilder
- FToolbarRegistrationArgs
- FToolkitBuilder
References
| Module | WidgetRegistration |
| Header | /Engine/Source/Developer/WidgetRegistration/Public/ToolElementRegistry.h |
| Include | #include "ToolElementRegistry.h" |
Syntax
class FToolElementRegistrationArgs : public TSharedFromThis< FToolElementRegistrationArgs >
Remarks
A class which provides the data necessary to generate a widget. This class should be extended and used to hold whatever information is needed to generate or update the widgets that make up the tool, and implement the virtual widget methods
Variables
| Type | Name | Description | |
|---|---|---|---|
| const EToolElement | ToolElementType | The type of tool element this is Registration args for |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FToolElementRegistrationArgs
(
EToolElement InToolElementType |
The constructor, which takes an EToolElement which will define the type of Tool Element |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Default destructor in case any subclasses need to provide a destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SWidget > | Implements the generation of the TSharedPtr |
||
| void | ResetWidget () |
Resets the widget to its initial state | |
| void | UpdateWidget () |
Updates/reloads this widget. This should be called after a consumer has changed any Data in this |