removing widgets from table
- From: Ronald Roth <rroth imsa edu>
- To: gtk-app-devel-list gnome org
- Subject: removing widgets from table
- Date: Mon, 15 Jul 2002 23:36:39 -0500
how can I remove widgets from a table? is there some counterpart
function to gtk_table_attach()?
also, for some reason, gtk_table_resize() seems to have no effect. The
number for cols and rows seems to remain the same, no matter if I call
gtk_table_resize() or not.
here is what I am doing to add a widget:
num_cols=table->ncols.
num_cols++;
gtk_table_resize(table, 2, num_cols);
gtk_table_attach_defaults(table, new_widget, num_cols, num_cols+1, 1, 2);
if I comment out the gtk_table_resize() line, the new widget still appears on
the table, and ncols is still increased (by two, actually, not one as I
expected). Why does gtk_table_resize have no effect?
thanks!
-Ron Roth
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]