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

Re: How to remove entries from a table




On Thu, 5 Nov 1998, Dave J. Andruczyk wrote:
> 
> does that remove the table, or just the widget?
> 

It removes the child, like this:

gtk_container_remove(table, child);

Then your table will no longer contain the child. 

You probably also need to gtk_widget_hide or gtk_widget_destroy the child, 
and you may want to queue_resize on your window and enable
autogrow/autoshrink with gtk_window_set_policy. That way the window will
change size as the children come and go (assuming that's the behavior you
want, of course don't do this if you don't want that).

Havoc



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