Navigation
API > API/Runtime > API/Runtime/WebBrowser
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SWebBrowserView
References
| Module | WebBrowser |
| Header | /Engine/Source/Runtime/WebBrowser/Public/SWebBrowserView.h |
| Include | #include "SWebBrowserView.h" |
Syntax
class SWebBrowserView : public SCompoundWidget
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BindAdapter
(
const TSharedRef< IWebBrowserAdapter >& Adapter |
||
| void | BindInputMethodSystem
(
ITextInputMethodSystem* TextInputMethodSystem |
||
| void | BindUObject
(
const FString& Name, |
Expose a UObject instance to the browser runtime. | |
| bool | CanGoBack () |
Returns true if the browser can navigate backwards. | |
| bool | CanGoForward () |
Returns true if the browser can navigate forwards. | |
| void | CloseBrowser () |
Close the underlying browser object before we destruct this view. | |
| void | Construct
(
const FArguments& InArgs, |
Construct the widget. | |
| void | ExecuteJavascript
(
const FString& ScriptText |
Execute javascript on the current window | |
| FText | Gets the URL that appears in the address bar, this may not be the URL that is currently loaded in the frame. | ||
| void | Gets the source of the main frame as raw HTML. | ||
| FText | GetTitleText () |
Get the current title of the web page. | |
| FString | GetUrl () |
Gets the currently loaded URL. | |
| void | GoBack () |
Navigate backwards. | |
| void | GoForward () |
Navigate forwards. | |
| bool | |||
| bool | Whether the browser widget is done initializing. | ||
| bool | IsLoaded () |
Whether the document finished loading. | |
| bool | IsLoading () |
Whether the document is currently being loaded. | |
| void | LoadString
(
FString Contents, |
Load a string as data to create a web page. | |
| void | Load the specified URL. | ||
| void | Reload () |
Reload the current page. | |
| void | Update the underlying browser widget to match the KB focus in slate. | ||
| void | SetParentWindow
(
TSharedPtr< SWindow > Window |
Set parent SWindow for this browser. | |
| void | StopLoad () |
Stop loading the page. | |
| void | UnbindAdapter
(
const TSharedRef< IWebBrowserAdapter >& Adapter |
||
| void | |||
| void | UnbindUObject
(
const FString& Name, |
Remove an existing script binding registered by BindUObject. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. | |
| bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |