mbdlyb_ui.utils
Copyright (c) 2023 - 2026 TNO-ESI All rights reserved.
Classes
Represent the ready, computing, and error states of an operation. |
Functions
|
Render a refreshable heading for an element name. |
|
Render a refreshable indicator for a status. |
Module Contents
- class mbdlyb_ui.utils.Status(*args, **kwds)
Bases:
enum.EnumRepresent the ready, computing, and error states of an operation.
- print_ui()
Render the icon or spinner corresponding to this status.
- COMPUTING
- ERROR
- READY
- mbdlyb_ui.utils.show_name(name: str)
Render a refreshable heading for an element name.
- Parameters:
name – Name to display.