Skip to content

polychron.views.ManageIntrusiveOrResidualContextsView Module

ManageIntrusiveOrResidualContextsView

Bases: PopupView

View for managing intrusive and residual contexts

Formerly popupWindow4. This is a popup window triggered after ResidualOrIntrusive input

__intru_dropdown_labels instance-attribute

__intru_dropdown_labels = {}

Dict of tkinter label widgets for intrusive nodes

__intru_dropdowns instance-attribute

__intru_dropdowns = {}

Dict of dropdown tkinter widgets for intrusive nodes

__resid_dropdown_labels instance-attribute

__resid_dropdown_labels = {}

Dict of tkinter label widgets for residual nodes

__resid_dropdowns instance-attribute

__resid_dropdowns = {}

Dict of dropdown tkinter widgets for residual nodes

__init__

__init__(parent: Frame) -> None

Construct the view, without binding any callbacks

bind_back_button

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

Bind the callback for when the back_button is pressed

bind_proceed_button

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

Bind the callback for when the proceed_button is pressed

create_dropdowns

create_dropdowns(residual_contexts: List[str], intrusive_contexts: List[str]) -> None

Sets up drop down menus for defining what to do with residual or intrusive contexts

Formerly popupWindow4.test

get_resid_dropdown_selections

get_resid_dropdown_selections() -> Dict[str, str]

Get the selected values for each residual dropdown in a dictionary

get_intru_dropdown_selections

get_intru_dropdown_selections() -> Dict[str, str]

Get the selected values for each intrusive dropdown in a dictionary