//func (v Loader) GetPixbufAnimation() *Animation { // return &Animation { // C.gdk_pixbuf_loader_get_animation(v.GPixbufLoader) }; //} func (v Loader) SetSize(width int, height int) { C.gdk_pixbuf_loader_set_size(v.GPixbufLoader, C.int(width), C.int(height)) }
/* Causes the image to be scaled while it is loaded. The desired image size can be determined relative to the original size of the image by calling gdk_pixbuf_loader_set_size() from a signal handler for the ::size-prepared signal. Attempts to set the desired image size are ignored after the emission of the ::size-prepared signal. */ func (self *TraitPixbufLoader) SetSize(width int, height int) { C.gdk_pixbuf_loader_set_size(self.CPointer, C.int(width), C.int(height)) return }
func (_self_ *PixbufLoader) SetSize(width C.int, height C.int) { C.gdk_pixbuf_loader_set_size((*C.GdkPixbufLoader)(_self_._value_), width, height) return }
// SetSize is a wrapper around gdk_pixbuf_loader_set_size(). func (v *PixbufLoader) SetSize(width, height int) { C.gdk_pixbuf_loader_set_size(v.native(), C.int(width), C.int(height)) }