In my program, there is a point where all widgets are hidden. Is there a simple way to show a widget and all of its parent containers? I am not able to use show_all()
, because that would show other widgets that I don't want shown. I could go down the containers and show them all, but I would prefer not to if there is a more concise solution.
views:
21answers:
1
+1
A:
Other than iterating through Widget.get_parent
and show
ing them all, you can also set the no-show-all
property on the widgets you don't want shown, and call show_all
on the ancestor.
Johannes Sasongko
2010-02-19 02:55:51
Thanks, `get_parent()` is cleaner than `get_children()`. I don't know why I was using `get_children()`. :)
linkmaster03
2010-02-19 12:39:36