def size_allocate(self, new_alloc): self.item.widget.size_allocate(new_alloc) DockObject.size_allocate(self, new_alloc)