@dataclass(frozen=True,slots=True)classDockSpec:id:str"""Object name of the dock (window state, `window.docks[id]`)."""title:object"""`LazyText` (`_("…")`) or str; converted with `str()` on every retranslate."""area:Areacreate:Callable[[AppController,MainWindow],QtWidgets.QWidget]tabify_with:str|None=None"""Put this dock as a tab onto the dock with that id (same area)."""visible:bool=True