Closed fire-eggs closed 4 years ago
Intercept <Configure>
event:
root.bind( '<Configure>', onFormEvent )
And in def onFormEvent( event ):
, event.type == 18
is 'minimize', and event.type == 19
is 'restore from minimize'. (see)
On 'minimize' in the main window, invoke window.withdraw()
on other toplevel windows.
On 'restore' in the main window, invoke window.update()
and window.deiconify()
on other toplevel windows.
Views are not currently 'attached': minimizing/restoring either view should minimize/restore both.