IToolkitHost

Base interface class for toolkit hosts

Inheritance Hierarchy

IToolkitHost

ILevelEditor

References

Module

EditorFramework

Header

/Engine/Source/Editor/EditorFramework/Public/Toolkits/IToolkitHost.h

Include

#include "Toolkits/IToolkitHost.h"

Syntax

class IToolkitHost

Remarks

Base interface class for toolkit hosts

Destructors

Name Description

Public function Virtual

~IToolkitHost()

Functions

Name Description

Public function Virtual

void

 

AddViewportOverlayWidget

(
    TSharedRef< SWidget > InOverlaidWid...,
    TSharedPtr< IAssetViewport > InView...
)

Allows Toolkits to push widgets to the viewport.

Public function

void

 

BringToFront()

Brings this toolkit host's window (and tab, if it has one), to the front

Public function Virtual

FVector2D

 

GetActiveViewportSize()

Return the size of the active viewport, accounting for DPI Scale

Public function Const

UTypedElemen...

 

GetCommonActions()

Returns the common actions implementation for this toolkit host

Public function Const

FEditorModeT...

 

GetEditorModeManager()

Returns the mode manager for this toolkit host. For standalone toolkits

Public function

TSharedRef< ...

 

GetParentWidget()

Gets a widget that can be used to parent a modal window or pop-up to.

Public function Const

FName

 

GetStatusBarName()

Returns the status bar name that can be used with UStatusBarSubsystem to display messages in the status bar of this toolkit host.

Public function Const

TSharedPtr< ...

 

GetTabManager()

Access the toolkit host's tab manager

Public function Const

UWorld *

 

GetWorld()

Public function

FOnActiveVie...

 

OnActiveViewportChanged()

Gets a multicast delegate which is executed whenever the toolkit host's active viewport changes.

Public function

void

 

OnToolkitHostingFinished

(
    const TSharedRef< class IToolkit > ...
)

Called when a toolkit is no longer being hosted within this host

Public function

void

 

OnToolkitHostingStarted

(
    const TSharedRef< class IToolkit > ...
)

Called when a toolkit is opened within this host

Public function Virtual

void

 

RemoveViewportOverlayWidget

(
    TSharedRef< SWidget > InOverlaidWid...,
    TSharedPtr< IAssetViewport > InView...
)

Typedefs

Name

Description

FOnActiveViewportChanged

Notificaton when the active viewport changed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel