Re: Removing a widget from its container without destroying it



On Mon, 2006-02-13 at 09:00 +0100, Murray Cumming wrote:
> On Mon, 2006-02-13 at 08:41 +0100, Mickael Drean wrote:
> > Hi there,
> >  
> >   I hope that someone could help me because I have a Gtk::Table adding
> > in a VBox and I would to remove this Table from the Box without
> > destroying it. I try to use "unparent" but it doesn't work.
> >  
> >  Is there another way of doing it?
> 
> remove().

I forgot to mention: There was a bug in gtkmm before gtkmm 2.4 that made
this destroy the widget. But there's almost no reason to write new code
with gtkmm <2.4 now.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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