doc: remote-edit soft mode

This commit is contained in:
jean-emmanuel 2017-02-13 13:33:33 +01:00
parent 128e9855ee
commit 60feb77f55

View file

@ -10,7 +10,21 @@ The interface can be remotely edited by sending the appropriate osc messages (fr
#### `edit` : `/EXEC edit id options`
Apply a set of options to an existing widget
Apply a set of options to an existing widget by replacing the old ones with the new ones.
- `id`: `string`, widget's `id`
- `options`: `string`, JSON object defining the new properties to merge
- example: `{"label":"New Label", "color":"red"}`
*Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea.*
#### `edit_soft` : `/EXEC edit_soft id options`
Apply a set of options to an existing widget by merging them to the widget's options.
- `id`: `string`, widget's `id`
- `options`: `string`, JSON object defining the new properties to merge