-
-
Save 44hero/ae16560c86d7e44afcd8df9308a33842 to your computer and use it in GitHub Desktop.
# -PySide2- これまでの window重複の回避 のやり方ではだめかもしれない について ---
コードに close があると、window重複の回避が上手く働かないことが判明した。
PySide2 の、closeとは、closeEvent メソッドを含む、組み込み関数です。
そもそも、closeEvent メソッド は、基は組み込み関数であり、 イベントハンドラー です。
閉じる要求を受信したときにトップレベル ウィンドウに対してのみ呼び出されます。
これが悪さする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment