func (_self_ *PixbufSimpleAnim) SetLoop(loop bool) { _cgo_loop_ := (C.gboolean)(C.FALSE) if loop { _cgo_loop_ = (C.gboolean)(C.TRUE) } C.gdk_pixbuf_simple_anim_set_loop((*C.GdkPixbufSimpleAnim)(_self_._value_), _cgo_loop_) return }
/* Sets whether @animation should loop indefinitely when it reaches the end. */ func (self *TraitPixbufSimpleAnim) SetLoop(loop bool) { __cgo__loop := C.gboolean(0) if loop { __cgo__loop = C.gboolean(1) } C.gdk_pixbuf_simple_anim_set_loop(self.CPointer, __cgo__loop) return }