OnExitCallbackManager.py: Improve docstring layout

- Reduce line length.
- More logical line breaks.
This commit is contained in:
digitalfrost 2022-08-20 19:12:44 +02:00
parent 6298bb50ce
commit 62d05f2350

View file

@ -10,10 +10,13 @@ if TYPE_CHECKING:
#
# This class manages all registered upon-exit checks that need to be performed when the application tries to exit.
# For example, show a confirmation dialog when there is USB printing in progress. All callbacks will be called
# in the order of when they were registered. If all callbacks "pass", that is, for example, if the user clicks "yes"
# on the exit confirmation dialog and nothing is blocking the exit, then the application will quit.
# This class manages all registered upon-exit checks
# that need to be performed when the application tries to exit.
# For example, show a confirmation dialog when there is USB printing in progress.
# All callbacks will be called in the order of when they were registered.
# If all callbacks "pass", for example:
# if the user clicks "yes" on the exit confirmation dialog
# and nothing else is blocking the exit, then the application will quit.
#
class OnExitCallbackManager: