3.7 KiB
3.7 KiB
| 1 | Component | Type | Component | Description | macOS | GTK | Windows | iOS | Android | Web | Terminal |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | Application | Core Component | :class:`~toga.App` | The application itself | |b| | |b| | |b| | |b| | |b| | |b| | |b| |
| 3 | Window | Core Component | :class:`~toga.Window` | An operating system-managed container of widgets. | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 4 | MainWindow | Core Component | :class:`~toga.MainWindow` | The main window of the application. | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 5 | ActivityIndicator | General Widget | :class:`~toga.ActivityIndicator` | A spinning activity animation | |y| | |y| | |b| | ||||
| 6 | Button | General Widget | :class:`~toga.Button` | Basic clickable Button | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 7 | Canvas | General Widget | :class:`~toga.Canvas` | A drawing area for 2D vector graphics. | |y| | |y| | |y| | |y| | |y| | ||
| 8 | DateInput | General Widget | :class:`~toga.DateInput` | A widget to select a calendar date | |y| | |y| | |||||
| 9 | DetailedList | General Widget | :class:`~toga.DetailedList` | An ordered list of content where each item has an icon, a main heading, and a line of supplementary text. | |y| | |y| | |b| | |y| | |y| | ||
| 10 | Divider | General Widget | :class:`~toga.Divider` | A horizontal or vertical line | |y| | |y| | |y| | |b| | |||
| 11 | ImageView | General Widget | :class:`~toga.ImageView` | A widget that displays an image | |y| | |y| | |y| | |y| | |y| | ||
| 12 | Label | General Widget | :class:`~toga.Label` | Text label | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 13 | MultilineTextInput | General Widget | :class:`~toga.MultilineTextInput` | Multi-line Text Input field | |y| | |y| | |y| | |y| | |y| | ||
| 14 | NumberInput | General Widget | :class:`~toga.NumberInput` | A text input that is limited to numeric input | |y| | |y| | |y| | |y| | |y| | ||
| 15 | PasswordInput | General Widget | :class:`~toga.PasswordInput` | A text input that hides its input | |y| | |y| | |y| | |y| | |y| | ||
| 16 | ProgressBar | General Widget | :class:`~toga.ProgressBar` | Progress Bar | |y| | |y| | |y| | |y| | |y| | |b| | |
| 17 | Selection | General Widget | :class:`~toga.Selection` | A widget to select a single option from a list of alternatives. | |y| | |y| | |y| | |y| | |y| | ||
| 18 | Slider | General Widget | :class:`~toga.Slider` | Slider | |y| | |y| | |y| | |y| | |y| | ||
| 19 | Switch | General Widget | :class:`~toga.Switch` | Switch | |y| | |y| | |y| | |y| | |y| | |b| | |
| 20 | Table | General Widget | :class:`~toga.Table` | A widget for displaying columns of tabular data. | |y| | |y| | |y| | |b| | |||
| 21 | TextInput | General Widget | :class:`~toga.TextInput` | A widget for the display and editing of a single line of text. | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 22 | TimeInput | General Widget | :class:`~toga.TimeInput` | A widget to select a clock time | |y| | |y| | |||||
| 23 | Tree | General Widget | :class:`~toga.Tree` | A widget for displaying a hierarchical tree of tabular data. | |y| | |y| | |||||
| 24 | WebView | General Widget | :class:`~toga.WebView` | A panel for displaying HTML | |y| | |y| | |y| | |y| | |y| | ||
| 25 | Widget | General Widget | :class:`~toga.Widget` | The base widget | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 26 | Box | Layout Widget | :class:`~toga.Box` | Container for components | |y| | |y| | |y| | |y| | |y| | |b| | |b| |
| 27 | ScrollContainer | Layout Widget | :class:`~toga.ScrollContainer` | A container that can display a layout larger than the area of the container | |y| | |y| | |y| | |y| | |y| | ||
| 28 | SplitContainer | Layout Widget | :class:`~toga.SplitContainer` | A container that divides an area into two panels with a movable border | |y| | |y| | |y| | ||||
| 29 | OptionContainer | Layout Widget | :class:`~toga.OptionContainer` | A container that can display multiple labeled tabs of content | |y| | |y| | |y| | ||||
| 30 | App Paths | Resource | :class:`~toga.paths.Paths` | A mechanism for obtaining platform-appropriate filesystem locations for an application. | |y| | |y| | |y| | |y| | |y| | |b| | |
| 31 | Font | Resource | :class:`~toga.Font` | A text font | |b| | |y| | |y| | |b| | |y| | ||
| 32 | Command | Resource | :class:`~toga.Command` | Command | |b| | |b| | |b| | |b| | |||
| 33 | Group | Resource | :class:`~toga.Group` | Command group | |b| | |b| | |b| | |b| | |b| | ||
| 34 | Icon | Resource | :class:`~toga.Icon` | A small, square image, used to provide easily identifiable visual context to a widget. | |y| | |y| | |y| | |y| | |y| | |b| | |
| 35 | Image | Resource | :class:`~toga.Image` | An image | |y| | |y| | |y| | |y| | |y| |