Page
Each page can define a title, an optional icon, and a body function that renders the content. Pages can also be disabled to prevent user interaction.
Constructors
Page
Page creates a new tab page with the given title and content body.
Methods
| Method | Description |
|---|---|
Disabled(disabled bool) | Disabled marks the page as disabled, making it visible but not selectable. |
Icon(ico core.SVG) | Icon sets the icon displayed next to the page title. |