OptionContainer - Windows
See original GitHub issuesite-packages\toga_demo\__main__.py", line 31, in main
left_container = toga.OptionContainer()
AttributeError: 'module' object has no attribute 'OptionContainer'
Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
About Windows containers | Microsoft Learn
Containers are a technology for packaging and running apps--including Windows apps--across diverse environments on-premises and in the cloud ...
Read more >Prep Windows operating system containers | Microsoft Learn
Each of these methods are provided as an option to make the experience of constructing your container-ready Azure VMs as smooth as possible....
Read more >Get started: Run your first Windows container - Microsoft Learn
Quick start to learn how to run Windows containers. ... This topic describes how to run your first Windows container, after setting up...
Read more >Windows Container Base Images | Microsoft Learn
Windows offers four container base images that users can build from. Each base image is a different type of the Windows or Windows...
Read more >Windows Containers FAQ | Microsoft Learn
No. Windows container images are common across both Windows Server containers and Hyper-V isolation. The choice of container type is made when you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
An
OptionContainer
is a widget that hasn’t been wrapped up for use under Win32; to fix this bug, you’d need to write a Win32 implementation of this widget.It’s a container widget that allows you to switch between different panels. The usual native implementation would be a Tab view. The implementation would go under
toga_win32/widgets/optioncontainer.py
.What you’d be looking to write is code similar to
toga_win32/widgets/button.py
, but providing the same interface as OptionContainer on the Cocoa and GTK implementations.If you’re interested in contributing to the Win32 backend, I’d certainly appreciate the help - Win32 is an important platform, but it’s not one where I have any expertise (or even access to for development purposes).
I’ve just experienced this problem on Windows.
I know Windows support is experimental, but I’m wondering where the
toga.OptionContainer()
is supposed to come from.What would be the steps to fix this?