QWebEngineNewWindowRequest — PyQt Documentation v6.9.0 (original) (raw)
PyQt6.QtWebEngineCore.QWebEngineNewWindowRequest
Inherits from QObject.
Description¶
A utility type for the newWindowRequested signal.
Contains information about a request to load a page in a separate web engine view.
Enums¶
DestinationType
This enum describes the type of window requested:
Member | Value | Description |
---|---|---|
InNewBackgroundTab | 3 | In a tab of the same window, without hiding the currently visible web engine view. |
InNewDialog | 2 | In a window without a tab bar, toolbar, or URL bar. |
InNewTab | 1 | In a tab of the same window. |
InNewWindow | 0 | In a separate window. |
Methods¶
destination() → DestinationType
TODO
isUserInitiated() → bool
TODO
openIn(QWebEnginePage)
Opens the requested window in the view represented by page.
requestedGeometry() → QRect
TODO
requestedUrl() → QUrl
TODO