Re: [gtk-list] Re: Ataching data to a widget




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]