Skip to content

polychron.presenters.AddContextPresenter Module

AddContextPresenter

Bases: PopupPresenter[AddContextView, AddContextModel]

Presenter for adding an additional context to the current model

Formerly popupWindow

on_ok

on_ok() -> None

When the OK button is pressed, validate user in put, update the model and close the popup

on_cancel

on_cancel() -> None

When the Cancel button is pressed, close the popup without changing the model