Re: gtktable question



Thanks a lot! I'll try it.

Yanxin

Deborah Swayne wrote:

I have thought of two methods:
method 1. unparent the widget attached, remove the child from the
gtktable->children, then re-attach the widget with the new parameters;

Yes, that's the way I do it:

for each child:
  gtk_widget_ref ()
  gtk_container_remove ()

gtk_table_resize ()

for each child:
  gtk_table_attach ()

Debby




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