We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is the new windows when I start my program.
this is the logo of my program in dock on macOS.
and I set a error parameter to raise CTkMessageBox
and I press "Ok" button to close the popup CTkMessageBox, the entry box could not be focused, and the logo become this
this is the code
class SettingFrame(ctk.CTkFrame): def save_settings(self) -> None: try: # Save duplicate download setting self.setting_manager.setting.allow_download_duplicates = self.allow_download_duplicates.get() # Save sleep time setting sleep_time = int(self.time_wait_scratch_entry.get()) if sleep_time < 0: raise ValueError("间隔时间必须大于等于0") self.setting_manager.setting.time_wait_scratch = sleep_time # Save all settings to backend self.setting_manager.save_setting() CTkMessagebox(title="成功", message="所有设置已保存") except ValueError: CTkMessagebox(title="错误", message="请输入有效的整数作为间隔时间") except Exception as e: self._logger.exception(e) CTkMessagebox(title="错误", message=f"保存设置失败: {e}") self.master.focus_force()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this is the new windows when I start my program.
this is the logo of my program in dock on macOS.
and I set a error parameter to raise CTkMessageBox
and I press "Ok" button to close the popup CTkMessageBox, the entry box could not be focused, and the logo become this
this is the code
The text was updated successfully, but these errors were encountered: