Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/PanelWidget.h |
Include |
#include "Components/PanelWidget.h" |
class UPanelWidget : public UWidget
The base class for all UMG panel widgets. Panel widgets layout a collection of child widgets.
Name | Description | |
---|---|---|
|
UPanelWidget ( |
Name | Description | ||
---|---|---|---|
|
UPanelSlot &... |
AddChild ( |
Adds a new child widget to the container. |
|
CanAddMoreChildren() |
Returns true if the panel can accept another child widget. |
|
|
CanHaveMultipleChildren() |
Returns true if the panel supports more than one child. |
|
|
ClearChildren() |
Remove all child widgets from the panel widget. |
|
|
GetAllChildren() |
Gets all widgets in the container |
|
|
UWidget *... |
GetChildAt ( |
Gets the widget at an index. |
|
GetChildIndex ( |
Gets the index of a specific child widget |
|
|
GetChildrenCount() |
Gets number of child widgets in the container. |
|
|
UClass * |
GetSlotClass() |
|
|
const TArray... |
GetSlots() |
The slots in the widget holding the child widgets of this panel. |
|
HasAnyChildren() |
Returns true if there are any child widgets in the panel |
|
|
HasChild ( |
Returns true if panel contains this widget |
|
|
UPanelSlot &... |
InsertChildAt |
Inserts a widget at a specific index. |
|
LockToPanelOnDrag() |
||
|
OnSlotAdded ( |
||
|
OnSlotRemoved ( |
||
|
RemoveChild ( |
Removes a specific widget from the container. |
|
|
RemoveChildAt ( |
Removes a child by it's index. |
|
|
ReplaceChild |
Swaps the child widget out of the slot, and replaces it with the new child widget. |
|
|
ReplaceChildAt |
Swaps the widget out of the slot at the given index, replacing it with a different widget. |
|
|
ShiftChild |
Moves the child widget from its current index to the new index provided. |
Name | Description | ||
---|---|---|---|
|
ConnectEditorData() |
Allows general fixups and connections only used at editor time. |
|
|
TSharedRef< ... |
RebuildDesignWidget ( |
|
|
SetDesignerFlags ( |
Sets the designer flags on the widget. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
PostLoad() |
Begin UObject. |