organoid_tracker.text_popup.position_list_popup module

class organoid_tracker.text_popup.position_list_popup.PositionListPopup(window: Window, *, title: str, positions: List[Position], position_descriptions: Optional[List[str]] = None, description: str = '')

Bases: RichTextPopup

Used to display a list of positions that the user can visit by clicking on it. Use dialog.popup_rich_text(…) to show this popup

get_title() str

Returns the title for the whole website.

navigate(url: str) Optional[str]

Returns the Markdown for the given URL. The website can also perform some other action, like zooming in on a position or starting a program. If this method returns None, then the navigation is cancelled.