openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 386 Location: Fairfax, Virginia
|
Posted: Thu Nov 23, 2006 4:24 pm Post subject: |
|
|
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. |
|