Re: resizing GtkTable



Dnia 23-09-2004, czw o godzinie 18:02 +0200, Tobias Werth napisał:
I attached some GtkLabels to a GtkTable using gtk_table_attach().
Now I wondered what happens with these labels, when I resize the table with
gtk_table_resize() and the some cells and thus the labels are removed from the
table? Does this destroy and clean up the labels in the removed cells? Or have
I to destroy them before making the table smaller?

You need to gtk_widget_remove() any widgets you no longer want to be in
table. That will also take care of properly freeing them.

Cheers,
Maciej

-- 
"Tautologizm to coś tautologicznego"
   Maciej Katafiasz <mnews2 wp pl>
       http://mathrick.blog.pl




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]