Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code to support multiple browser windows. Fixes issue #7 #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alandmoore
Copy link

This is to address issue #7. By creating a callback that generates a new browser window and assigning it to MainWindow.browser.createWindow, the browser is able to open new windows with Ctrl+click and handle target='_blank' links.

In the spirit of this repository, I have tried to keep the code simple and minimal. A more proper implementation would subclass QWebEngineView or QWebEnginePage, but this approach is simple and works.

@SaptakBhoumik
Copy link

Approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants