Comments (1)
I add a function in webview.go,it seems work correct.
// WidgetToWebView convert a Widget(it must be converted from WebView) back to WebView
func WidgetToWebView(widget *gtk.Widget) *WebView {
obj := widget.Object
p := unsafe.Pointer(widget.Native())
return &WebView{>k.Widget{glib.InitiallyUnowned{obj}}, C.to_WebKitWebView((*C.GtkWidget)(p))}
}
from go-webkit2.
Related Issues (20)
- example_test.go fails while all other tests before succeed
- go-webkit2 with webkitgtk-2.8.3 issues
- Can't install HOT 4
- getting response headers
- run test failed HOT 8
- Mac OS X install difficulties and TestWebView_LoadURI crash HOT 2
- Error installing on Mac OS X 10.11 HOT 2
- Constant Javascript errors HOT 1
- Ubuntu initial install failed to build webkit-eval-js HOT 1
- libwebkit2gtk-4.0 support? HOT 6
- cgo blows up with runtime error: `cgo argument has Go pointer to Go pointer` HOT 5
- Webkit Settings?
- Test Failed
- How to set the size of a snapshot in GetSnapshot? HOT 1
- msys2 support ?
- How can I try go-webkit2 on macos
- Tests Fail on Boolean Format
- can i let javascript call native function?
- How to support flash player
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-webkit2.