Message251048
| Author |
markroseman |
| Recipients |
kbk, markroseman, roger.serwy, terry.reedy |
| Date |
2015年09月19日.02:26:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442629608.18.0.497476300551.issue25173@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The confirmation, file, etc. common dialogs in tkinter accept both a 'master' and a 'parent' argument. Master is not required (it will use parent if not provided). Parent is used to associate the dialog with a given window. On Mac OS X, using parent further turns this into a 'sheet' attached to that window.
Most places in IDLE we're correctly using parent, but there are several places that master is provided, but not parent, e.g. IOBinding.py. This is most noticeable doing a 'do you want to save before closing...' where now it is not attached to the window on Mac, but it should be.
Need to go through the code, every place the common dialogs are used and check if master/parent are being used correctly. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月19日 02:26:48 | markroseman | set | recipients:
+ markroseman, terry.reedy, kbk, roger.serwy |
| 2015年09月19日 02:26:48 | markroseman | set | messageid: <1442629608.18.0.497476300551.issue25173@psf.upfronthosting.co.za> |
| 2015年09月19日 02:26:48 | markroseman | link | issue25173 messages |
| 2015年09月19日 02:26:46 | markroseman | create |
|