示例#1
0
/*
Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating.
In general it only makes sense to call this function after the "area-prepared"
signal has been emitted by the loader. If the loader doesn't have enough
bytes yet (hasn't emitted the "area-prepared" signal) this function will
return %NULL.
*/
func (self *TraitPixbufLoader) GetAnimation() (return__ *PixbufAnimation) {
	var __cgo__return__ *C.GdkPixbufAnimation
	__cgo__return__ = C.gdk_pixbuf_loader_get_animation(self.CPointer)
	if __cgo__return__ != nil {
		return__ = NewPixbufAnimationFromCPointer(unsafe.Pointer(reflect.ValueOf(__cgo__return__).Pointer()))
	}
	return
}
示例#2
0
func (_self_ *PixbufLoader) GetAnimation() (_go__return__ PixbufAnimation) {
	var _return_ *C.GdkPixbufAnimation
	_return_ = C.gdk_pixbuf_loader_get_animation((*C.GdkPixbufLoader)(_self_._value_))
	_go__return__ = ToPixbufAnimation(unsafe.Pointer(_return_))
	return
}