-
Notifications
You must be signed in to change notification settings - Fork 51
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
It is possible to get webview inside Nigui? #186
Comments
I wanted to learn something more about Nigui and about nim dynlib import.
after linking the two proc I have created a gtk window and I have added the webkit control
But I can not use it with Nigui How can I make a new Nigui control with the webkit inside? I tried subclassing Control and linking webkit_web_view_new() as a pointer to fHandle, everything compiles with no errors but it does not show anything. |
Update of my previous post:
To make possible to set result.fHandle I had to add a * in platform.types1.nim at line 13, because the original fHandle was private.
|
I recently tried webview in Linux and in Windows and it seems very interesting. I found a post on Nim forum with some lines of code with which I compiled a full working webview. I was thinking it should be very useful to have a Nigui window with a webview control inside (the original webview is an independent gtk or win32 window without the possibility to set buttons or other controls). Wxwidget has a control like this, but in Windows it has the old webview and not the new webview2 based on edge/chrome.
The text was updated successfully, but these errors were encountered: