Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SGraphPaletteItem
- SNiagaraIconWidget
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/SGraphPalette.h |
| Include | #include "SGraphPalette.h" |
Syntax
class SGraphPaletteItem : public SCompoundWidget
Remarks
Widget for displaying a single item
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< FEdGraphSchemaAction > | ActionPtr | The item that we want to display with this widget | |
| TSharedPtr< SInlineEditableTextBlock > | InlineRenameWidget | Holds the inline renaming widget if one was created | |
| FCreateWidgetMouseButtonDown | MouseButtonDownDelegate | Delegate executed when mouse button goes down |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs, |
||
| TSharedRef< SWidget > | CreateIconWidget
(
const FText& IconToolTip, |
Create an icon type widget | |
| TSharedRef< SWidget > | CreateIconWidget
(
const FText& IconToolTip, |
Creates an icon type widget, including big tooltip link | |
| TSharedRef< SWidget > | CreateTextSlotWidget
(
FCreateWidgetForActionData*const InCreateData, |
Create the text widget | |
| FText | Callback to get the display text | ||
| FText | Callback to get the tooltip | ||
| void | OnNameTextCommitted
(
const FText& NewText, |
Callback when rename text is committed | |
| bool | OnNameTextVerifyChanged
(
const FText& InNewText, |
Callback when rename text is being verified on text changed |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | OnDragEnter
(
const FGeometry& MyGeometry, |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. | |
| void | OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | CreateTextSlotWidget
(
const FSlateFontInfo& NameFont, |
CreateTextSlotWidget that takes a font parameter is deprecated |