Widget destruction
- From: Russell Shaw <rjshaw netspace net au>
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Widget destruction
- Date: Wed, 23 Jun 2004 19:45:35 +1000
Hi,
When i destroy a container widget, my dispose() handler is
run in the child widget. However, the refcount isn't decremented
and the finalize() handler doesn't run. I thought the container
widget should decrement the refcount. What am i missing? (gtk 2.4.3)
For gtk widgets, am i supposed to do all freeing functions
in a mywidget_destroy() function, and use dispose() and finalize()
functions only for non-widget GObjects?
http://www.gtk.org/tutorial/sec-gtkdial.html#AEN2937
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]