Widget Reference

Core Widgets

Toga includes a set of core widgets, that can be placed with a Box Container.

Component Usage Purpose Class
Application Documentation Primary host for UI components toga.interface.app.App
Box Documentation Container for components toga.interface.widgets.box.Box
Font Documentation Fonts toga.interface.font.Font
Widget Documentation Base class for widgets toga.interface.widgets.base.Widget
Window Documentation Window object toga.interface.window.Window

Layout widgets

Component Usage Purpose Class
Scroll Container Documentation Scrollable Container toga.interface.widgets.scrollcontainer.ScrollContainer
Split Container Documentation Split Container toga.interface.widgets.splitcontainer.SplitContainer
Web View Documentation Web View toga.interface.widgets.webview.WebView