yasmin_editor.editor_gui.editor_action_state module
Qt-free editor action availability helpers.
- yasmin_editor.editor_gui.editor_action_state.build_editor_action_enabled_map(*, read_only_mode: bool, has_selection: bool, has_state_selection: bool, clipboard_has_content: bool) dict[str, bool]
Return enabled states for the editor actions that depend on context.
Return whether one toolbar drop-down button should stay enabled.