core, bridge: new signal actionNew to launch an action from the backend (e.g. display a dialog message):

- SAT.actionNew is a shortcut to call bridge.actionNew with a generated id. The id may be used in the future to ignore an action (e.g.: an action is sent to all frontends to accept a file, one of the frontend did manage the dialog, the other ones can then ignore this dialog), but is not used for now.
This commit is contained in:
Goffi 2015-08-18 09:01:18 +02:00
commit 97d140566c

View file

@ -109,6 +109,18 @@ doc_param_1=conf_type: Type of the confirmation, can be:
doc_param_2=data: conf_type dependent data
doc_param_3=%(doc_profile)s
[actionNew]
type=signal
category=core
sig_in=a{ss}ss
doc=A frontend action is requested
doc_param_0=action_data: a dict where key can be:
- xmlui: a XMLUI need to be displayed
doc_param_1=id: action id
This id can be used later by frontends to announce to other ones
That the action is managed and can now be ignored.
doc_param_2=%(doc_profile)s
[actionResult]
deprecated=
type=signal