func newWebView(webViewWidget *C.GtkWidget) *WebView { obj := &glib.Object{glib.ToGObject(unsafe.Pointer(webViewWidget))} return &WebView{>k.Widget{glib.InitiallyUnowned{obj}}, C.to_WebKitWebView(webViewWidget)} }
// newSettings creates a new Settings with default values. // // See also: webkit_settings_new at // http://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html#webkit-settings-new. func newSettings(settings *C.WebKitSettings) *Settings { return &Settings{&glib.Object{glib.ToGObject(unsafe.Pointer(settings))}, settings} }