QWebEngineNewWindowRequest#
A utility type for the newWindowRequested()
signal. More…
Synopsis#
Functions#
def
destination
()def
isUserInitiated
()def
openIn
(arg__1)def
requestedGeometry
()def
requestedUrl
()
Detailed Description#
Contains information about a request to load a page in a separate web engine view.
See also
- class PySide6.QtWebEngineCore.QWebEngineNewWindowRequest#
- PySide6.QtWebEngineCore.QWebEngineNewWindowRequest.DestinationType#
This enum describes the type of window requested:
Constant
Description
QWebEngineNewWindowRequest.InNewWindow
In a separate window.
QWebEngineNewWindowRequest.InNewTab
In a tab of the same window.
QWebEngineNewWindowRequest.InNewDialog
In a window without a tab bar, toolbar, or URL bar.
QWebEngineNewWindowRequest.InNewBackgroundTab
In a tab of the same window, without hiding the currently visible web engine view.
- PySide6.QtWebEngineCore.QWebEngineNewWindowRequest.destination()#
- Return type
This property holds The type of window that is requested..
- PySide6.QtWebEngineCore.QWebEngineNewWindowRequest.isUserInitiated()#
- Return type
bool
Whether this page request was directly triggered as the result of a keyboard or mouse event.
You can use this property to block automatic popups.
- PySide6.QtWebEngineCore.QWebEngineNewWindowRequest.openIn(arg__1)#
- Parameters
Opens the requested window in the view represented by page
.
See also
- PySide6.QtWebEngineCore.QWebEngineNewWindowRequest.requestedGeometry()#
- Return type
This property holds The size that is requested for the new page..
- PySide6.QtWebEngineCore.QWebEngineNewWindowRequest.requestedUrl()#
- Return type
This property holds The URL that is requested for the new page..