maximize in frame%

Maximizes or restores the frame under Windows and Mac OS; the frame's show state is not affected. Under Windows, an iconized frame cannot be maximized or restored.

A window's maximization can be changed by the user, and such changes do not go through this method; use on-size to monitor size changes.