Ticket #375 (closed enhancement: fixed)
Can't show/hide widgets from containers
|Reported by:||totycro||Owned by:||chewie|
|Severity:||normal||Keywords:||show hide container pychan|
|Time remaining:||Time spent:|
In an xml file, there is a widget as part of a container. This widget should be visible in some cases, in others not. Calling show()/hide() on it gives this: "You can only show/hide the top widget of a hierachy."
The proposed solution is to use add/removeChild, which is not possible here, since removeChild would remove all information, that the gui designer put into the xml file.
Please implement show/hide for non-top level widgets if easily possible, or provide another mechanism for setting visibility, that works in this case.
- Type changed from defect to enhancement
- Milestone changed from 0.3.1 to 0.3.2