Re: Removing GtkNotebook pages
- From: Bryan Christ <bryan christ hp com>
- To: manu aradhya <manu_aradhya yahoo co in>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Removing GtkNotebook pages
- Date: Wed, 14 Jul 2004 09:18:00 -0500
I have tried this. When the widgets are destroyed BEFORE removing the
page, I get the following error message:
GLib-GObject-WARNING **: gsignal.c:1738: instance `0x85a9b18' has no
handler with id `97'
When I try to destroy the widget AFTER the page has already been
removed, I get this error:
Gtk-CRITICAL **: file gtkwidget.c: line 1911 (gtk_widget_destroy):
assertion `GTK_IS_WIDGET (widget)' failed
Only when I stop trying to destroy the widgets myself do the errors go
away. Basically, I want to know if this is the proper behavior. It
appears so, but I can't afford any memory leaks.
Bryan
On Wed, 2004-07-14 at 00:34, manu aradhya wrote:
better to call gtk_widget_destroy before removing the
notebook page.
-manu
--- Bryan Christ <bryan christ hp com> wrote: > Does
anyone know if removing a notebook page
destroys the associated
widgets? That is to say are the label widgets and
child widgets
destroyed when the page is removed?
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
________________________________________________________________________
Yahoo! India Careers: Over 65,000 jobs online
Go to: http://yahoo.naukri.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]