Re: Removing a widget from its container without destroying it



It seems I have the gtkmm-devel-2.6.2-1.exe package for windows and in the repertories I have gtkmm-2.4!! How can I know which one i got?
 
If i got the good one, I don't understand why my soft crash when i try to use again the widget i remove before!!!

 
2006/2/13, Murray Cumming <murrayc murrayc com>:
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]