Readded containerResize() on GTK+; going to have to figure out how I'm going to do GTK+ size control...
This commit is contained in:
parent
8f1165e0c7
commit
00438732d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue