Re: [gtk-list] Re: Ataching data to a widget
- From: Havoc Pennington <rhp zirx pair com>
- To: luther dpt-info u-strasbg fr
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Ataching data to a widget
- Date: Thu, 3 Jun 1999 11:32:01 -0400 (EDT)
On Thu, 3 Jun 1999, Sven LUTHER wrote:
>
> When a widget with attached data is destroyed, what happens to attached data ?
> Does it get freed normally, or does it just get leaked ?
>
You can use gtk_object_set_data_full() to specify a function to free it
with. Then it will be freed when you destroy the widget.
> what about the data associated to a clist row ?
>
There's a gtk_clist_set_row_data_full() for this.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]