Navigation
API > API/Plugins > API/Plugins/WebBrowserWidget
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UWebBrowser
References
| Module | WebBrowserWidget |
| Header | /Engine/Plugins/Runtime/WebBrowserWidget/Source/WebBrowserWidget/Public/WebBrowser.h |
| Include | #include "WebBrowser.h" |
Syntax
UCLASS&40;&41;
class UWebBrowser : public UWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSupportsTransparency | Should the browser window support transparency. | |
| FString | InitialURL | URL that the browser will initially navigate to. | |
| FOnBeforePopup | OnBeforePopup | Called when a popup is about to spawn. | |
| FOnConsoleMessage | OnConsoleMessage | Called when the browser has console spew to print | |
| FOnUrlChanged | OnUrlChanged | Called when the Url changes. | |
| TSharedPtr< class SWebBrowser > | WebBrowserWidget |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWebBrowser
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ExecuteJavascript
(
const FString& ScriptText |
Executes a JavaScript string in the context of the web page | |
| FText | GetTitleText () |
Get the current title of the web page | |
| FString | GetUrl () |
Gets the currently loaded URL. | |
| bool | HandleOnBeforePopup
(
FString URL, |
||
| void | HandleOnConsoleMessage
(
const FString& Message, |
||
| void | HandleOnUrlChanged
(
const FText& Text |
||
| void | LoadString
(
FString Contents, |
Load a string as data to create a web page | |
| void | Load the specified URL |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnBeforePopup | |||
| FOnConsoleMessage | |||
| FOnUrlChanged |