Re: [gtk-list] deleting widgets




Jeff <schizm@pc-4374.bc.rogers.wave.ca> writes:

> once I define a window, put in a menubar, have a bunch of widgets taking
> up areas of the window, how do I 'delete' those widgets so that I can
> put other ones in their place?  lets say the program starts, the whole window
> is dedicated to a GtkImage for a title screen, then i want the GtkImage
> to go away, and some other widgets to replace it.....

gtk_widget_destroy (widget) should work. If you want it to come back
later, you could use gtk_widget_hide (widget). 

		                      Owen



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