This commit is contained in:
Xinhao Yuan 2019-07-08 17:37:51 -04:00
parent 27e9369654
commit e9b0b7e234
1 changed files with 1 additions and 6 deletions

View File

@ -17,12 +17,7 @@ It is advised to instantiate layouts of unique names for each tag (and for each
## Editor ## Editor
Call `editor = layout_machi.editor.create()` to create an editor that can either Call `editor = layout_machi.editor.create()` to create an editor that can interactively edit the current layout by calling `editor.start_interactive()`.
- Interactively edit layout by calling `editor.start_interactive()`
- Set the layout with batched commands by calling `editor.set_by_cmd(cmd)`, where `cmd` is a string
`data` is an object for storing the history of the editing, initially `{}`.
### The layout editing command ### The layout editing command