Dispatcher
- class tools.preview.preview.Dispatcher(app: Preview)
Bases:
objectHandles the app level tk.Variables and the threading events. Dispatches events to the correct location and handles GUI state whilst events are handled
- Parameters:
app (Preview) – The main tkinter Preview app
Attributes Summary
Set by the parent and cleared by the child.
Methods Summary
set_busy()Set the tkinter busy variable to
Trueand display the busy progress barSends a trigger to the patching thread that it needs to be run.
Attributes Documentation
- needs_patch
Set by the parent and cleared by the child. Informs the child patching thread that a run needs to be processed
Methods Documentation
- set_busy() None
Set the tkinter busy variable to
Trueand display the busy progress bar- Return type:
None
- set_needs_patch() None
Sends a trigger to the patching thread that it needs to be run. Waits for the patching to complete prior to triggering a display refresh and unsetting the busy indicators
- Return type:
None
- property needs_patch: Event
Set by the parent and cleared by the child. Informs the child patching thread that a run needs to be processed
- set_busy() None
Set the tkinter busy variable to
Trueand display the busy progress bar- Return type:
None
- set_needs_patch() None
Sends a trigger to the patching thread that it needs to be run. Waits for the patching to complete prior to triggering a display refresh and unsetting the busy indicators
- Return type:
None