polychron.views.ResidualOrIntrusiveView
Module
ResidualOrIntrusiveView
Bases: PopupView
View for users to provide input on whether contexts are residual or intrusive during chronological graph rendering
Formerly part of PageTwo
__init__
__init__(parent: Frame) -> None
Construct the view, without binding any callbacks
set_resid_label_text
set_resid_label_text(residual_contexts: List[str]) -> None
Update the intrusive list
set_intru_label_text
set_intru_label_text(intrusive_contexts: List[str]) -> None
Update the intrusive list
bind_proceed_button
bind_proceed_button(callback: Callable[[], Any]) -> None
Bind the callback for when the proceed_button is pressed
bind_residual_mode_button
bind_residual_mode_button(callback: Callable[[], Any]) -> None
Bind the callback for when the residual_mode_button is pressed
bind_intrusive_mode_button
bind_intrusive_mode_button(callback: Callable[[], Any]) -> None
Bind the callback for when the intrusive_mode_button is pressed
bind_graphcanvas_events
bind_graphcanvas_events(callback_wheel: Callable[[], Any], callback_node_click: Callable[[], Any], callback_move_from: Callable[[], Any], callback_move_to: Callable[[], Any]) -> None
Bind mouse callback events for interacting with the graph canvas
wheel2
wheel2(event: Any) -> None
Zoom with mouse wheel
Formerly (part of) PageTwo.wheel
update_littlecanvas2_image_only
update_littlecanvas2_image_only(image: Image) -> None
Update the image within the littlecanvas2, during resizing.
show_image2
show_image2() -> None
Show image on the Canvas