Skip to content

polychron.views.ProjectSelectView Module

ProjectSelectView

Bases: FrameView

Passive view for project loading/selection

__init__

__init__(parent: Frame) -> None

Construct the view, without binding any callbacks

bind_load_button

bind_load_button(callback: Callable[[], Any]) -> None

Callback function for the load button, which is also bound for events with a list box selected

update_project_list

update_project_list(project_names: List[str]) -> None

Update the list of projects to choose from to include the provided list of project names

get_selected_project

get_selected_project() -> str | None

Get the value of the currently selected project name