closeο
- omni.kit.window.file.close(on_closed: Optional[Callable[[], None]] = None)ο
Check if current stage is dirty. If itβs dirty, it will ask if to save the file, then close stage.
- Keyword Arguments
on_closed (Callable) β function to call after closing, Function Signature: on_closed() -> None