func (self Rectangle) GetBoxType() gobject.GType {
	return GdkType.RECTANGLE
}
To be BoxedLike
package gdk3
import "C"
import "unsafe"
import "runtime"
import "github.com/norisatir/go-gtk3/gobject"
var GdkType gdkTypes
type gdkTypes struct {
	DEVICE        gobject.GType
	RECTANGLE     gobject.GType
	RGBA          gobject.GType
	COLOR         gobject.GType
	EVENT         gobject.GType
	DISPLAY       gobject.GType
	SCREEN        gobject.GType
	WINDOW        gobject.GType
	MODIFIER_TYPE gobject.GType
}
type Rectangle struct {
	X, Y          int
	Width, Height int
}
func newRectangleFromNative(obj unsafe.Pointer) interface{} {
	cr := *((*C.GdkRectangle)(obj))
	r := Rectangle{}
	r.X = int(cr.x)
	r.Y = int(cr.y)
	r.Width = int(cr.width)
	r.Height = int(cr.height)
	return r
}
func nativeFromRectangle(r interface{}) *gobject.GValue {
	if rec, ok := r.(Rectangle); ok {
		gv := gobject.CreateCGValue(GdkType.RECTANGLE, rec.ToNative())
		return gv
	}
	return nil
}