Re: Removing One Page from GtkNotebook
- From: Tristan Van Berkom <tvb gnome org>
- To: Annamalai Gurusami <annamalai gurusami masconit com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Removing One Page from GtkNotebook
- Date: Wed, 20 Jul 2005 10:37:52 -0400
Annamalai Gurusami wrote:
Hello All,
In my GTK+ application, I am having a GtkNotebook. I am adding one
page, with a GtkScrolledWindow as a child, and a GtkHBox as a label.
I remove this page from GtkNotebook. My question is when I remove
this page from GtkNotebook, are the child widgets destroyed?
If you dont have an explicit reference to the widget in the page
(i.e. the page) then the widget and its children are destroyed.
Cheers,
-Tristan
See:
http://developer.gnome.org/doc/API/2.0/gtk/GtkObject.html
(desctiption section) for an interesting discussion on
reference counting in GTK+.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]