Re: Removing a widget



On Sat, Nov 06, 1999 at 11:09:43PM -0500, Havoc Pennington wrote:
> > ref/remove/add/unref as that kills the plug in the process.  At least that's
> > what I remember.  So if this changes in 1.4, we may have to brew our own 1.2
> > style reparent into the panel.
> 
> That sounds like GtkPlug is just broken to me...

The only way would be to keep the X window alive as the only link from the
socket to the plug is the socket's X window, if you kill it, the plug dies.
So socket would have to do keep the X window around somewhere (reparent it to
root maybe offscreen).

George



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