Skip to content

polychron.views.PopupView Module

PopupView

Bases: Toplevel

Base class for Views exist within their own popup window

parent instance-attribute

parent = parent

A reference to the parent frame

__init__

__init__(parent: Toplevel) -> None

Call the base class (Toplevel) constructor

register_keybinds

register_keybinds(bindings: Dict[str, Callable[[], Any]]) -> None

Register window-wide key bindings

register_protocols

register_protocols(bindings: Dict[str, Callable[[], Any]]) -> None

Register protocols with the window

i.e. what happens when the window is closed using the OS decorations