Readded containerResize() on GTK+; going to have to figure out how I'm going to do GTK+ size control...

This commit is contained in:
Pietro Gagliardi 2014-10-17 20:21:35 -04:00
parent 8f1165e0c7
commit 00438732d1
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,12 @@ func (c *container) parent() *controlParent {
return &controlParent{c.container}
}
//export containerResizing
func containerResizing(data unsafe.Pointer, r *C.GtkAllocation) {
c := (*container)(data)
c.resize(int(r.x), int(r.y), int(r.width), int(r.height))
}
const (
gtkXMargin = 12
gtkYMargin = 12