Skip to content

polychron.views.RemoveStratigraphicRelationshipView Module

RemoveStratigraphicRelationshipView

Bases: PopupView

View for providing the reason wehn removing a specific stratigraphic relationship

Formerly popupWindow6

__init__

__init__(parent: Frame) -> None

Construct the view, without binding any callbacks

bind_ok_button

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

Bind the callback for when the ok_button is pressed

bind_cancel_button

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

Bind the callback for when the cancel_button is pressed

update_label

update_label(edge_label: str | None = None) -> None

Update the label text to include the edge being removed.

get_reason

get_reason() -> str

Get the reason from the text area