Remove :meth:`get_toplevel` from any current parent and add it to
        *other[name]*.

def reparent(self, other, name):
        """
        Remove :meth:`get_toplevel` from any current parent and add it to
        *other[name]*.
        """
        # http://developer.gnome.org/gtk-faq/stable/x635.html
        # warns against reparent()
        old = self.toplevel.get_parent()
        if old:
            old.remove(self.toplevel)
        new = other[name]
        new.add(self.toplevel)