This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cheryl.sabella, terry.reedy
Date 2017-07-02.03:05:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498964713.65.0.915041519331.issue30495@psf.upfronthosting.co.za>
In-reply-to
Content
I was trying to think of 2 possible future uses of ViewFrame in addition to current embedding in in ViewWindows: embedded in a tab, and tiled in a panel.  With no window close [X] buttom, the button in a frame will be needed, so I left it.

Since the button is now [Close] rather than [OK], the function should be close rather than ok.

I copied, rather than cut, before pasting and editing.  The Windows button is not needed.  The window ok is for the protocol call, but I don't really know if that is needed.  Tk apps seem to work without it.  I may investigate more someday.  Leave it for now.

By calling window destroy directly, the frame close will survive window close being deleted, but not window close being edited to add other actions.
History
Date User Action Args
2017-07-02 03:05:13terry.reedysetrecipients: + terry.reedy, cheryl.sabella
2017-07-02 03:05:13terry.reedysetmessageid: <1498964713.65.0.915041519331.issue30495@psf.upfronthosting.co.za>
2017-07-02 03:05:13terry.reedylinkissue30495 messages
2017-07-02 03:05:13terry.reedycreate