comparison src/bridge/bridge_constructor/bridge_template.ini @ 1467:ceba6fd77739

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.
author Goffi <goffi@goffi.org>
date Tue, 18 Aug 2015 09:01:18 +0200
parents 7590bbf44eed
children 80cd55dd5b04
comparison
equal deleted inserted replaced
1466:2184d5f496b5 1467:ceba6fd77739
106 doc_param_1=conf_type: Type of the confirmation, can be: 106 doc_param_1=conf_type: Type of the confirmation, can be:
107 - YES/NO: A question which need a yes or no answer 107 - YES/NO: A question which need a yes or no answer
108 - FILE_TRANSFER: A confirmation is needed before transfering a file 108 - FILE_TRANSFER: A confirmation is needed before transfering a file
109 doc_param_2=data: conf_type dependent data 109 doc_param_2=data: conf_type dependent data
110 doc_param_3=%(doc_profile)s 110 doc_param_3=%(doc_profile)s
111
112 [actionNew]
113 type=signal
114 category=core
115 sig_in=a{ss}ss
116 doc=A frontend action is requested
117 doc_param_0=action_data: a dict where key can be:
118 - xmlui: a XMLUI need to be displayed
119 doc_param_1=id: action id
120 This id can be used later by frontends to announce to other ones
121 That the action is managed and can now be ignored.
122 doc_param_2=%(doc_profile)s
111 123
112 [actionResult] 124 [actionResult]
113 deprecated= 125 deprecated=
114 type=signal 126 type=signal
115 category=core 127 category=core