func GetServerCaps() *glib.List { var gcaps *C.GList gcaps = C.notify_get_server_caps() return glib.ListFromNative(unsafe.Pointer(gcaps)) }
//WebKitNetworkRequest * webkit_web_data_source_get_request // (WebKitWebDataSource *data_source); func (v *DataSource) GetSubresources() []*WebResource { gList := C.webkit_web_data_source_get_subresources(v.getDataSource()) list := glib.ListFromNative(unsafe.Pointer(gList)) resources := []*WebResource{} l := list.First() for n := uint(0); n < l.Length(); n++ { resource := &WebResource{glib.GObject{unsafe.Pointer(C.g_list_nth_data(gList, C.guint(n)))}} resources = append(resources, resource) } return resources }