Re: removing widgets, changing the layout. UNPACK?




Raul Dias <chaos@swi.com.br> writes:

> Hi,
> 
> Is possible to remove a widget after I have used it?
> 
> 
> I am writting a app that I want to change its layout during runtime. 
> I don't want to delete it.  Just to remove from the MAIN WINDOW
> depending on the mode used by the user.
> 
> If there is a way to do, how I do that?  unpack?

gtk_container_remove() can be used to remove a child from
a container. But the easiest way of getting rid of a
child is just to call gtk_widget_destroy() on it.

Regards,
                                        Owen



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