/* Creates a new pixbuf loader object. */ func PixbufLoaderNew() (return__ *PixbufLoader) { var __cgo__return__ interface{} __cgo__return__ = C.gdk_pixbuf_loader_new() if __cgo__return__ != nil { return__ = NewPixbufLoaderFromCPointer(unsafe.Pointer(reflect.ValueOf(__cgo__return__).Pointer())) } return }
// PixbufLoaderNew() is a wrapper around gdk_pixbuf_loader_new(). func PixbufLoaderNew() (*PixbufLoader, error) { c := C.gdk_pixbuf_loader_new() if c == nil { return nil, nilPtrErr } obj := &glib.Object{glib.ToGObject(unsafe.Pointer(c))} p := &PixbufLoader{obj} runtime.SetFinalizer(obj, (*glib.Object).Unref) return p, nil }
func NewLoader() *Loader { return &Loader{ C.gdk_pixbuf_loader_new()} }
func PixbufLoaderNew() (_go__return__ PixbufLoader) { var _return_ *C.GdkPixbufLoader _return_ = C.gdk_pixbuf_loader_new() _go__return__ = ToPixbufLoader(unsafe.Pointer(_return_)) return }
func PixbufLoader() *GdkPixbufLoader { return &GdkPixbufLoader{ C.gdk_pixbuf_loader_new()} }