INNER CODE UNIT · Python

job_ask

cunarist/solie · package/solie/window/main.py:127

        async def job_ask() -> None:
            answer = await ask(
                "Board is locked. Do you want to unlock it?",
                "You will be able to manipulate the board again.",
                ["No", "Yes"],
            )
            if answer in (0, 1):
                return
            self.board.setEnabled(True)

        spawn(job_ask())

    async def boot(self) -> None:
        """Initialize and boot the application window."""
        self._setup_ui()
        await self._setup_splash_screen()
        self._configure_global_settings()
        await self._set_window_icon()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…