Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 650 Bytes

optioncontainer.rst

File metadata and controls

32 lines (21 loc) · 650 Bytes

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 toga

container = toga.OptionContainer()

table = toga.Table(['Hello', 'World'])
tree = toga.Tree(['Navigate'])

container.add('Table', table)
container.add('Tree', tree)

Supported Platforms

Reference

toga.interface.widgets.optioncontainer.OptionContainer