API#
Header navigator UI
Create the UI
Get the list of registered buttons
Refresh the UI
- button: Dict[str, Tuple[Callable[[], Widget], int]],
Register a new button
- Parameters:
button – the button data: {name: (callback that create the ui, priority from left (low number) to right (high number))}
Select a given button name
- Parameters:
button – the button name
value – select or not
Show or hide the logo
- Parameters:
value – show or hide
- function: Callable[[str], Any],
Return the object that will automatically unsubscribe when destroyed.
- function: Callable[[], Any],
Return the object that will automatically unsubscribe when destroyed.
Unregister a button
- Parameters:
button – the button name to unregister