Re: About gtk_object_set_data()
- From: "Atanas Atanasov" <thenasko gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: About gtk_object_set_data()
- Date: Sun, 9 Jul 2006 17:22:41 +0200
There are two approaches. The data you set with gtk_object_set_data is
simply a gpointer and when the object is destroyed or the data is
removed it manages the pointer but not the data (location) it points
to. If you eventually would like to perform some freeing when the data
is removed use g_object_set_data_full and specify a destroy callback.
Atanas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]