get_selections_gui(iface_uri,
gui_args,
test_callback=None)
| source code
|
Run the GUI to choose and download a set of implementations. If the
GUI itself is due for a check, refresh it first. The user may ask the GUI
to submit a bug report about the program. In that case, the GUI may ask
us to test it. test_callback is called in that case with the
implementations to be tested; the callback will typically call zeroinstall.injector.run.test_selections and return the
result of that.
- Parameters:
iface_uri (str) - the required program
gui_args ([str]) - any additional arguments for the GUI itself
test_callback (zeroinstall.injector.selections.Selections ->
str) - function to use to try running the program
- Returns: zeroinstall.injector.selections.Selections
- the selected implementations
|