[gtk-list] Re: reparenting containers with a window of t



> > The thing that bugs me is that you unrealize the widget, which in fact
> > destroys it and its windows, the children, and then rerealize them
> > (recreate them).
> 
> this is not the case, take a closer look at owens words.

I like cutting large parts of the mail I reply to, but it seems that
sometimes it's a bad idea :(

Unfortunatly I deleted Owen's previous message and it's not (yet)
in the archive list.
But it was clearly stated that reparenting a widget was unrealizing
it and then rerealizing it.

This *is* the problem.


> > Why don't you just unmap the widget (or the closest children if it's
> > a NO_WINDOW), reparent the(ir) widget->window, and remap it (them).
> 
> you don't need to do the unmapping, X will do that for you.

yep.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]