func ImageNewFromResource(resourcePath string) (*Image, error) {
	cstr := C.CString(resourcePath)
	defer C.free(unsafe.Pointer(cstr))
	c := C.gtk_image_new_from_resource((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapImage(obj), nil
}
func ImageNewFromResource(resourcePath string) (*Image, error) {
	cstr := C.CString(resourcePath)
	defer C.free(unsafe.Pointer(cstr))
	c := C.gtk_image_new_from_resource((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapImage(obj), nil
}
func ImageNewFromResource ( resourcePath string ) ( * Image , error ) { cstr := C . CString ( resourcePath ) defer C . free ( unsafe . Pointer ( cstr ) ) c := C . gtk_image_new_from_resource ( ( * C . gchar ) ( cstr ) ) if c == nil { return nil , nilPtrErr } obj := glib . Take ( unsafe . Pointer ( c ) ) return wrapImage ( obj ) , nil }
// ImageNewFromResource() is a wrapper around gtk_image_new_from_resource().
ImageNewFromResource () is a wrapper around gtk_image_new_from_resource () .