UXsollaWebBrowser

Inherits from UWidget

Public Functions

Name
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FOnUrlChanged , const FText & , Text )
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FOnBeforePopup , FString , URL , FString , Frame )
DECLARE_DYNAMIC_MULTICAST_DELEGATE (FOnPageLoaded )
voidLoadURL (FString NewURL)
Loads the specified URL.
voidLoadHtml (FString Contents, FString DummyURL)
Loads the specified HTML page content.
voidExecuteJavascript (FString ScriptText)
Executes a JavaScript string in the context of the web page.
FStringGetUrl () const
Returns the currently loaded URL.
voidClearCache () const
Clear browser cache (cookies etc.).
voidGoBack () const
Return to previous page.
voidGoForward () const
Go to next page.
virtual voidReleaseSlateResources (bool bReleaseChildren) override

Protected Functions

Name
virtual TSharedRef< SWidget >RebuildWidget () override
voidHandleOnUrlChanged (const FText & Text)
boolHandleOnBeforePopup (FString URL, FString Frame)
voidHandleOnPageLoaded ()

Public Attributes

Name
FOnUrlChangedOnUrlChanged
Called when the URL changes.
FOnBeforePopupOnBeforePopup
Called when a pop-up is about to spawn.
FOnPageLoadedOnPageLoaded
Called when page loaded.

Protected Attributes

Name
FStringInitialURL
URL that the browser will initially navigate to.
boolbSupportsTransparency
Should the browser window support transparency.
TSharedPtr< class SWebBrowser >WebBrowserWidget

Public Functions Documentation

function DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam

Copy
Full screen
Small screen
1DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(
2    FOnUrlChanged ,
3    const FText & ,
4    Text 
5)

function DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams

Copy
Full screen
Small screen
1DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(
2    FOnBeforePopup ,
3    FString ,
4    URL ,
5    FString ,
6    Frame 
7)

function DECLARE_DYNAMIC_MULTICAST_DELEGATE

Copy
Full screen
Small screen
1DECLARE_DYNAMIC_MULTICAST_DELEGATE(
2    FOnPageLoaded 
3)

function LoadURL

Copy
Full screen
Small screen
1void LoadURL(
2    FString NewURL
3)

Loads the specified URL.

Parameters:

  • NewURL New URL to load.

function LoadHtml

Copy
Full screen
Small screen
1void LoadHtml(
2    FString Contents,
3    FString DummyURL
4)

Loads the specified HTML page content.

Parameters:

  • Contents HTMPL page content.

function ExecuteJavascript

Copy
Full screen
Small screen
1void ExecuteJavascript(
2    FString ScriptText
3)

Executes a JavaScript string in the context of the web page.

Parameters:

  • ScriptText JavaScript string to execute.

function GetUrl

Copy
Full screen
Small screen
1FString GetUrl() const

Returns the currently loaded URL.

Return: The URL, or empty string if no document is loaded.

function ClearCache

Copy
Full screen
Small screen
1void ClearCache() const

Clear browser cache (cookies etc.).

function GoBack

Copy
Full screen
Small screen
1void GoBack() const

Return to previous page.

function GoForward

Copy
Full screen
Small screen
1void GoForward() const

Go to next page.

function ReleaseSlateResources

Copy
Full screen
Small screen
1virtual void ReleaseSlateResources(
2    bool bReleaseChildren
3) override

Protected Functions Documentation

function RebuildWidget

Copy
Full screen
Small screen
1virtual TSharedRef< SWidget > RebuildWidget() override

function HandleOnUrlChanged

Copy
Full screen
Small screen
1void HandleOnUrlChanged(
2    const FText & Text
3)

function HandleOnBeforePopup

Copy
Full screen
Small screen
1bool HandleOnBeforePopup(
2    FString URL,
3    FString Frame
4)

function HandleOnPageLoaded

Copy
Full screen
Small screen
1void HandleOnPageLoaded()

Public Attributes Documentation

variable OnUrlChanged

FOnUrlChanged OnUrlChanged;

Called when the URL changes.

variable OnBeforePopup

FOnBeforePopup OnBeforePopup;

Called when a pop-up is about to spawn.

variable OnPageLoaded

FOnPageLoaded OnPageLoaded;

Called when page loaded.

Protected Attributes Documentation

variable InitialURL

FString InitialURL;

URL that the browser will initially navigate to.

The URL should include the protocol, eg http://

variable bSupportsTransparency

bool bSupportsTransparency;

Should the browser window support transparency.

variable WebBrowserWidget

TSharedPtr< class SWebBrowser > WebBrowserWidget;

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: October 27, 2026

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!
We couldn't send your feedback
Try again later or contact us at [email protected].