question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OptionContainer - Windows

See original GitHub issue
site-packages\toga_demo\__main__.py", line 31, in main
    left_container = toga.OptionContainer()
AttributeError: 'module' object has no attribute 'OptionContainer'

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
freakboy3742commented, Feb 7, 2016

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).

0reactions
Siecjecommented, Feb 6, 2016

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found