Open lukexue opened 9 years ago
see this changelog:
Changes in 0.1.0 (Thu Jan 09 2014) - Modify signal callback API to remove glib.CallbackContext - New support for the following types: - gtk.CellRendererToggle - gtk.HeaderBar - gtk.TextView - Additional function support for the following types: - gtk.MessageDialog - gtk.Window - Add examples for gtk.TextView bindings - Fix build when building with gccgo (https://github.com/conformal/gotk3/issues/19 and https://github.com/conformal/gotk3/issues/20)
rewrite the code, that is what i want to do but don't yet understand how to do yet.
@sqs can you advice?
@lukexue the solution to your problem was in the examples folder already as i found out sometime ago:
webView.Connect("load-changed", func(_ *glib.Object, i int) { loadEvent := webkit2.LoadEvent(i)
@sqs: that means this ticket can be closed now.
thanks
undefined: glib.CallbackContext