Terry J. Reedy added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to