UWebBrowser

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

WebBrowserWidget

Header

/Engine/Plugins/Runtime/WebBrowserWidget/Source/WebBrowserWidget/Public/WebBrowser.h

Include

#include "WebBrowser.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UWebBrowser : public UWidget

Variables

Name Description

Protected variable UProperty Category, EditAnywhere

bool

 

bSupportsTransparency

Should the browser window support transparency.

Protected variable UProperty Category, EditAnywhere

FString

 

InitialURL

URL that the browser will initially navigate to.

Public variable UProperty Category BlueprintAssignable

FOnBeforePopup

 

OnBeforePopup

Called when a popup is about to spawn.

Public variable UProperty Category BlueprintAssignable

FOnUrlChanged

 

OnUrlChanged

Called when the Url changes.

Protected variable

TSharedPtr< cla...

 

WebBrowserWidget

Constructors

Name Description

Public function

UWebBrowser

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction BlueprintCallable, Category

void

 

ExecuteJavascript

(
    const FString& ScriptText
)

Executes a JavaScript string in the context of the web page

Public function Const UFunction BlueprintCallable, Category

FText

 

GetTitleText()

Get the current title of the web page

Public function Const UFunction BlueprintCallable, Category

FString

 

GetUrl()

Gets the currently loaded URL.

Protected function

bool

 

HandleOnBeforePopup

(
    FString URL,
    FString Frame
)

Protected function

void

 

HandleOnUrlChanged

(
    const FText& Text
)

Public function UFunction BlueprintCallable, Category

void

 

LoadString

(
    FString Contents,
    FString DummyURL
)

Load a string as data to create a web page

Public function UFunction BlueprintCallable, Category

void

 

LoadURL

(
    FString NewURL
)

Load the specified URL

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Classes

Name

Description

Public class

FOnBeforePopup

Public class

FOnUrlChanged

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