yasmin_editor.editor_gui.clipboard_model module

Helpers for choosing the clipboard container model.

yasmin_editor.editor_gui.clipboard_model.create_clipboard_container(kind: str, *, name: str = 'Shelf') StateMachine | Concurrence

Create an empty clipboard container with the requested semantics.

yasmin_editor.editor_gui.clipboard_model.get_container_kind(model: StateMachine | Concurrence) str

Return the logical container kind used by clipboard workflows.

yasmin_editor.editor_gui.clipboard_model.is_container_empty(model: StateMachine | Concurrence) bool

Return whether a clipboard container currently has any staged content.