Example #1
0
func (p *Pixbuf) GetWidth() int {
	return int(C.gdk_pixbuf_get_width(p.GPixbuf))
}
Example #2
0
// GetWidth is a wrapper around gdk_pixbuf_get_width().
func (v *Pixbuf) GetWidth() int {
	c := C.gdk_pixbuf_get_width(v.native())
	return int(c)
}
Example #3
0
func (p *Pixbuf) GetWidth() int {
	return int(C.gdk_pixbuf_get_width(C.toGdkPixbuf(unsafe.Pointer(p.GPixbuf))))
}
Example #4
0
/*
Queries the width of a pixbuf.
*/
func (self *TraitPixbuf) GetWidth() (return__ int) {
	var __cgo__return__ C.int
	__cgo__return__ = C.gdk_pixbuf_get_width(self.CPointer)
	return__ = int(__cgo__return__)
	return
}
Example #5
0
// GetWidth is a wrapper around gdk_pixbuf_get_width().
func (v *Pixbuf) GetWidth() int {
	return int(C.gdk_pixbuf_get_width(v.Native()))
}