gtk/gtk.go
func (v *CssProvider) LoadFromPath(path string) error {
	cpath := C.CString(path)
	defer C.free(unsafe.Pointer(cpath))
	var gerr *C.GError
	if C.gtk_css_provider_load_from_path(v.native(), (*C.gchar)(cpath), &gerr) == 0 {
		defer C.g_error_free(gerr)
		return errors.New(goString(gerr.message))
	}
	return nil
}
func (v *CssProvider) LoadFromPath(path string) error {
	cpath := C.CString(path)
	defer C.free(unsafe.Pointer(cpath))
	var gerr *C.GError
	if C.gtk_css_provider_load_from_path(v.native(), (*C.gchar)(cpath), &gerr) == 0 {
		defer C.g_error_free(gerr)
		return errors.New(goString(gerr.message))
	}
	return nil
}
func ( v * CssProvider ) LoadFromPath ( path string ) error { cpath := C . CString ( path ) defer C . free ( unsafe . Pointer ( cpath ) ) var gerr * C . GError if C . gtk_css_provider_load_from_path ( v . native ( ) , ( * C . gchar ) ( cpath ) , & gerr ) == 0 { defer C . g_error_free ( gerr ) return errors . New ( goString ( gerr . message ) ) } return nil }
// LoadFromPath is a wrapper around gtk_css_provider_load_from_path().
LoadFromPath is a wrapper around gtk_css_provider_load_from_path () .