|
Could you provide some code? One thing that you have to realize is that destroying a widget will also destroy all children. If you then make any call on any of them, you will get an error.
gtk_widget_hide() will set only that widget as non-visible. All of its children will also be hidden, but they will not be set as invisible in properties. If you call gtk_widget_show() on that widget, all of its children will then be visible again. Calling gtk_widget_hide_all() will set the visibility property of every child widget to FALSE as well. If you call gtk_widget_show() on that widget instead of gtk_widget_show_all(), the children will still be hidden.
If you are having a specific problem, please always post some code ... otherwise it is impossible to diagnose your problem, even if you do provide an error.
_________________ Andrew Krause
Foundations of GTK+ Development: Buy now for only $31.49!
|