navigate.view.popups.resolution_change_popup.ResolutionChangeCancelledPopup
- class navigate.view.popups.resolution_change_popup.ResolutionChangeCancelledPopup(root: Tk, keep_command: Callable[[], None], return_command: Callable[[], None], return_enabled: bool)
Bases:
objectOffer safe stage-position choices after resolution cancellation.
- __init__(root: Tk, keep_command: Callable[[], None], return_command: Callable[[], None], return_enabled: bool) → None
Create the modal recovery dialog.
- Parameters:
root (tk.Tk) – Navigate’s main application window.
keep_command (Callable[[], None]) – Callback that accepts the actual stopped position without moving stages.
return_command (Callable[[], None]) – Callback that starts the separately cancellable return movement.
return_enabled (bool) – Whether a complete, limit-validated pre-movement position is available.
Methods
__init__(root, keep_command, return_command, ...)Create the modal recovery dialog.