Navigation
Unreal Engine C++ API Reference > Runtime > WebBrowser
References
Module | WebBrowser |
Header | /Engine/Source/Runtime/WebBrowser/Public/IWebBrowserWindow.h |
Include | #include "IWebBrowserWindow.h" |
Syntax
class IWebBrowserWindow
Remarks
Interface for dealing with a Web Browser window
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Virtual Destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
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 | ||
![]() ![]() |
bool | ||
![]() |
void | CloseBrowser
(
bool bForce, |
Close this window so that it can no longer be used. |
![]() |
void | ExecuteJavascript
(
const FString& Script |
Execute Javascript on the page. |
![]() ![]() |
EWebBrowserDocumentState | Gets the loading state of the current document. | |
![]() |
int | GetLoadError () |
Get current load error. |
![]() ![]() |
TSharedPtr< class SWindow > | Get parent SWindow for this window | |
![]() ![]() |
void | Gets the source of the main frame as raw HTML. | |
![]() ![]() |
bool | Returns whether mouse wheel events should be handled by the window | |
![]() |
FSlateShaderResource * | GetTexture
(
bool bIsPopup |
Gets interface to the texture representation of the browser |
![]() ![]() |
FString | GetTitle () |
Gets the current title of the Browser page |
![]() ![]() |
FString | GetUrl () |
Gets the currently loaded URL. |
![]() ![]() |
FIntPoint | Gets the current size of the web browser viewport if available, FIntPoint::NoneValue otherwise | |
![]() |
void | GoBack () |
Navigate backwards. |
![]() |
void | GoForward () |
Navigate forwards. |
![]() ![]() |
bool | IsClosing () |
Checks whether the web browser is currently being shut down |
![]() ![]() |
bool | Checks whether the web browser has finished loaded the initial page. | |
![]() ![]() |
bool | IsLoading () |
Returns true if the browser is currently loading. |
![]() ![]() |
bool | IsValid () |
Checks whether the web browser is valid and ready for use |
![]() |
void | LoadString
(
FString Contents, |
Load a string as data to create a web page |
![]() |
void | Load the specified URL | |
![]() |
FOnBeforeBrowse & | ||
![]() |
FOnBeforePopupDelegate & | ||
![]() |
FOnBeforeResourceLoadDelegate & | ||
![]() |
void | Called when Capture lost | |
![]() ![]() |
FOnCheckVisibility & | ||
![]() |
FOnCloseWindow & | ||
![]() |
FOnConsoleMessageDelegate & | ||
![]() |
FOnCreateWindow & | ||
![]() |
FCursorReply | OnCursorQuery
(
const FGeometry& MyGeometry, |
The system asks each widget under the mouse to provide a cursor. This event is bubbled. |
![]() |
FOnDismissAllDialogs & | ||
![]() |
IWebBrowserWindow::FOnDismissPopup TBaseMulticastDelegate_NoParams | ||
![]() |
FOnDocumentStateChanged & | ||
![]() |
FOnDragWindow & | OnDragWindow () |
|
![]() |
void | OnFocus
(
bool SetFocus, |
Called when browser receives/loses focus |
![]() |
bool | OnKeyChar
(
const FCharacterEvent& InCharacterEvent |
Notify the browser of a character event |
![]() |
bool | Notify the browser that a key has been pressed | |
![]() |
bool | Notify the browser that a key has been released | |
![]() |
FOnLoadUrl & | OnLoadUrl () |
|
![]() |
FReply | OnMouseButtonDoubleClick
(
const FGeometry& MyGeometry, |
Notify the browser of a double click event |
![]() |
FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Notify the browser that a mouse button was pressed within it |
![]() |
FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Notify the browser that a mouse button was released within it |
![]() |
void | OnMouseLeave
(
const FPointerEvent& MouseEvent |
Notify the browser that a mouse has left the window |
![]() |
FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
Notify the browser that a mouse moved within it |
![]() |
FReply | OnMouseWheel
(
const FGeometry& MyGeometry, |
Called when the mouse wheel is spun |
![]() |
IWebBrowserWindow::FOnNeedsRedraw TBaseMulticastDelegate_NoParams | ||
![]() |
FOnResourceLoadCompleteDelegate & | ||
![]() |
FOnShowDialog & | OnShowDialog () |
|
![]() |
IWebBrowserWindow::FOnShowPopup TBaseMulticastDelegate_OneParam | OnShowPopup () |
|
![]() |
FOnSuppressContextMenu & | ||
![]() |
FOnTitleChanged & | ||
![]() |
FOnToolTip & | OnToolTip () |
|
![]() |
FReply | OnTouchGesture
(
const FGeometry& MyGeometry, |
Called when a touch gesture is performed. |
![]() |
FOnUnhandledKeyChar & | ||
![]() |
FOnUnhandledKeyDown & | ||
![]() |
FOnUnhandledKeyUp & | ||
![]() |
FOnUrlChanged & | OnUrlChanged () |
|
![]() |
void | Reload () |
Reload the current page. |
![]() |
void | SetIsDisabled
(
bool bValue |
Disable or enable web view. |
![]() |
void | SetParentWindow
(
TSharedPtr< class SWindow > Window |
Set parent SWindow for this window |
![]() |
void | SetSupportsMouseWheel
(
bool bValue |
Sets whether mouse wheel events should be handled by the window |
![]() |
void | SetViewportSize
(
FIntPoint WindowSize, |
Set the desired size of the web browser viewport |
![]() |
void | StopLoad () |
Stop loading the page. |
![]() ![]() |
void | ||
![]() |
void | UnbindUObject
(
const FString& Name, |
Remove an existing script binding registered by BindUObject. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FOnDismissPopup | A delegate that is invoked when the browser no longer wants to show the popup menu. | |
![]() |
FOnDocumentStateChanged | A delegate that is invoked when the loading state of a document changed. | |
![]() |
FOnNeedsRedraw | A delegate that is invoked when the off-screen window has been repainted and requires an update. | |
![]() |
FOnShowPopup | A delegate that is invoked when the browser needs to show a popup menu. | |
![]() |
FOnTitleChanged | A delegate to allow callbacks when a browser title changes. | |
![]() |
FOnToolTip | A delegate to allow callbacks when a frame url changes. | |
![]() |
FOnUrlChanged | A delegate to allow callbacks when a frame url changes. |
Typedefs
Name | Description |
---|---|
FOnBeforeBrowse | A delegate that is invoked prior to browser navigation. |
FOnBeforePopupDelegate | A delegate that is invoked when a popup window is attempting to open. |
FOnBeforeResourceLoadDelegate | |
FOnCheckVisibility | A delegate that is invoked to check the visibility of the native browser |
FOnCloseWindow | A delegate that is invoked when closing created popup windows. |
FOnConsoleMessageDelegate | A delegate that is invoked for each console message |
FOnCreateWindow | A delegate that is invoked when an existing browser requests creation of a new browser window. |
FOnDismissAllDialogs | A delegate that is invoked when the browser needs to dismiss and reset all dialogs. |
FOnDragWindow | A delegate that is invoked when drag is detected in an area specified as a drag region on the web page. |
FOnLoadUrl | A delegate that is invoked to allow user code to override the contents of a Url. |
FOnResourceLoadCompleteDelegate | A delegate that is invoked on completion of browser resource loads. |
FOnShowDialog | A delegate that is invoked when the browser needs to show a dialog. |
FOnSuppressContextMenu | Should return true if this dialog wants to suppress the context menu |
FOnUnhandledKeyChar | A delegate that is invoked for each key char event not handled by the browser, return true if event is handled to prevent it from bubbling up. |
FOnUnhandledKeyDown | A delegate that is invoked for each key down event not handled by the browser, return true if event is handled to prevent it from bubbling up. |
FOnUnhandledKeyUp | A delegate that is invoked for each up down event not handled by the browser, return true if event is handled to prevent it from bubbling up. |
FRequestHeaders | A delegate that is invoked before the browser loads a resource. |