Re: Using libglademm
Miles Izzo <[email protected]> Wed, 21 Jul 2004 17:29:32 +1000
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Organization | Eh? What's that? |
| Message-ID | <[email protected]> |
+++ [email protected] [20/07/04 23:51 -0700]: > > Child widgets from glade are managed, so you don't need to delete them if > you put them in a container. Top-level widgets (windows) need to be > deleted. > > I added information about this to the book chapter recently: > http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch19s02.html Ah I see. So I should be doing a C++ 'delete' on any windows that I have obtained, whether through get_widget or get_widget_derived? I have tried that, and I see to be getting a segfault. I'll have a look at it more closely, but it seems to be happening in the destructor for a class that isn't mine. -- Regards, Miles Izzo gaia at 17:27:07 up 186 days, 19:51, 7 users, load average: 1.28, 1.09, 1.02