Option Container¶
The Option Container widget is a user-selection control for choosing from a pre-configured list of controls, like a tab view.
Usage¶
import python
container = toga.OptionContainer()
table = toga.Table(['Hello', 'World'])
tree = toga.Tree(['Navigate'])
container.add('Table', table)
container.add('Tree', tree)
Supported Platforms¶
Component | iOS | win32 | web | django | cocoa | gtk | android |
---|---|---|---|---|---|---|---|
OptionContainer |