示例#1
0
func (p *Pixbuf) GetWidth() int {
	return int(C.gdk_pixbuf_get_width(p.GPixbuf))
}
示例#2
0
文件: gdk.go 项目: visionect/gotk3
// 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)
}
示例#3
0
func (p *Pixbuf) GetWidth() int {
	return int(C.gdk_pixbuf_get_width(C.toGdkPixbuf(unsafe.Pointer(p.GPixbuf))))
}
示例#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
}
示例#5
0
文件: gdkpixbuf.go 项目: jrick/gotk3
// GetWidth is a wrapper around gdk_pixbuf_get_width().
func (v *Pixbuf) GetWidth() int {
	return int(C.gdk_pixbuf_get_width(v.Native()))
}