2015-03-20 22:19:20 +00:00
|
|
|
import blinker
|
|
|
|
|
2015-06-02 00:09:07 +00:00
|
|
|
# Show a status message in the action bar
|
|
|
|
sig_add_event = blinker.Signal()
|
|
|
|
def add_event(e, level):
|
|
|
|
sig_add_event.send(
|
|
|
|
None,
|
|
|
|
e=e,
|
|
|
|
level=level
|
|
|
|
)
|
|
|
|
|
2015-03-22 00:32:24 +00:00
|
|
|
# Show a status message in the action bar
|
2015-03-20 22:19:20 +00:00
|
|
|
status_message = blinker.Signal()
|
2015-03-22 00:32:24 +00:00
|
|
|
|
|
|
|
# Prompt for input
|
|
|
|
status_prompt = blinker.Signal()
|
|
|
|
|
|
|
|
# Prompt for a path
|
2015-03-22 00:59:34 +00:00
|
|
|
status_prompt_path = blinker.Signal()
|
2015-03-22 00:32:24 +00:00
|
|
|
|
|
|
|
# Prompt for a single keystroke
|
|
|
|
status_prompt_onekey = blinker.Signal()
|
|
|
|
|
|
|
|
# Call a callback in N seconds
|
2015-03-20 23:37:00 +00:00
|
|
|
call_in = blinker.Signal()
|
2015-03-22 00:32:24 +00:00
|
|
|
|
|
|
|
# Focus the body, footer or header of the main window
|
|
|
|
focus = blinker.Signal()
|
2015-03-22 02:11:54 +00:00
|
|
|
|
|
|
|
# Fired when settings change
|
|
|
|
update_settings = blinker.Signal()
|
2015-03-22 02:58:32 +00:00
|
|
|
|
|
|
|
# Fired when a flow changes
|
|
|
|
flow_change = blinker.Signal()
|
2015-03-22 04:18:53 +00:00
|
|
|
|
2015-04-07 04:13:42 +00:00
|
|
|
# Fired when the flow list or focus changes
|
2015-04-07 03:59:38 +00:00
|
|
|
flowlist_change = blinker.Signal()
|
2015-03-22 04:18:53 +00:00
|
|
|
|
|
|
|
# Pop and push view state onto a stack
|
|
|
|
pop_view_state = blinker.Signal()
|
|
|
|
push_view_state = blinker.Signal()
|