glxeveloop.hooks module¶
-
class
glxeveloop.hooks.
Hooks
[source]¶ Bases:
glxeveloop.properties.debug.DebugProperty
-
property
statement
¶ Register a hook to be called before parsing information, support to iterate the application
- Returns
A callable function
- Return type
callable
-
property
parsing
¶ Register a hook to be called after have receive
statement
from the application.- Returns
A callable function
- Return type
callable
-
property
pre
¶ Register a hook to be called before the command function.
- Returns
A callable function
- Return type
callable
-
property
cmd
¶ Register a hook to be called as the command function.
- Returns
A callable function
- Return type
callable
-
property
post
¶ Register a hook to be called after the command function.
- Returns
A callable function
- Return type
callable
-
property
finalization
¶ Register a hook to be called just before mainloop exit, whether it completes successfully or not.
- Returns
A callable function
- Return type
callable
-
property
dispatch
¶ Should be remove soon
- Returns
A callable function
- Return type
callable
-
property
keyboard_interruption
¶ Register a hooks it Shortcut KeyboardInterrupt during the mainloop execution
- Returns
A callable function
- Return type
callable
-
property